Exemplo n.º 1
0
static int rtsx_pci_ms_resume(struct platform_device *pdev)
{
	struct realtek_pci_ms *host = platform_get_drvdata(pdev);
	struct memstick_host *msh = host->msh;

	dev_dbg(ms_dev(host), "--> %s\n", __func__);

	memstick_resume_host(msh);
	return 0;
}
Exemplo n.º 2
0
static int r592_resume(struct device *core_dev)
{
    struct pci_dev *pdev = to_pci_dev(core_dev);
    struct r592_device *dev = pci_get_drvdata(pdev);

    r592_clear_interrupts(dev);
    r592_enable_device(dev, false);
    memstick_resume_host(dev->host);
    r592_update_card_detect(dev);
    return 0;
}