Loading drivers/ata/pata_hpt3x3.c +10 −1 Original line number Diff line number Diff line Loading @@ -255,8 +255,17 @@ static int hpt3x3_init_one(struct pci_dev *pdev, const struct pci_device_id *id) #ifdef CONFIG_PM static int hpt3x3_reinit_one(struct pci_dev *dev) { struct ata_host *host = dev_get_drvdata(&dev->dev); int rc; rc = ata_pci_device_do_resume(dev); if (rc) return rc; hpt3x3_init_chipset(dev); return ata_pci_device_resume(dev); ata_host_resume(host); return 0; } #endif Loading Loading
drivers/ata/pata_hpt3x3.c +10 −1 Original line number Diff line number Diff line Loading @@ -255,8 +255,17 @@ static int hpt3x3_init_one(struct pci_dev *pdev, const struct pci_device_id *id) #ifdef CONFIG_PM static int hpt3x3_reinit_one(struct pci_dev *dev) { struct ata_host *host = dev_get_drvdata(&dev->dev); int rc; rc = ata_pci_device_do_resume(dev); if (rc) return rc; hpt3x3_init_chipset(dev); return ata_pci_device_resume(dev); ata_host_resume(host); return 0; } #endif Loading