aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_sil.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_sil.c')
-rw-r--r--drivers/ata/sata_sil.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
index d27ab312cdfb..1f3fdcf29876 100644
--- a/drivers/ata/sata_sil.c
+++ b/drivers/ata/sata_sil.c
@@ -710,8 +710,12 @@ err_out:
710static int sil_pci_device_resume(struct pci_dev *pdev) 710static int sil_pci_device_resume(struct pci_dev *pdev)
711{ 711{
712 struct ata_host *host = dev_get_drvdata(&pdev->dev); 712 struct ata_host *host = dev_get_drvdata(&pdev->dev);
713 int rc;
714
715 rc = ata_pci_device_do_resume(pdev);
716 if (rc)
717 return rc;
713 718
714 ata_pci_device_do_resume(pdev);
715 sil_init_controller(pdev, host->n_ports, host->ports[0]->flags, 719 sil_init_controller(pdev, host->n_ports, host->ports[0]->flags,
716 host->mmio_base); 720 host->mmio_base);
717 ata_host_resume(host); 721 ata_host_resume(host);