diff options
-rw-r--r-- | drivers/mmc/sdhci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 99f1db92295b..b57393c7f9b5 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c | |||
@@ -1125,7 +1125,9 @@ static int sdhci_resume (struct pci_dev *pdev) | |||
1125 | 1125 | ||
1126 | pci_set_power_state(pdev, PCI_D0); | 1126 | pci_set_power_state(pdev, PCI_D0); |
1127 | pci_restore_state(pdev); | 1127 | pci_restore_state(pdev); |
1128 | pci_enable_device(pdev); | 1128 | ret = pci_enable_device(pdev); |
1129 | if (ret) | ||
1130 | return ret; | ||
1129 | 1131 | ||
1130 | for (i = 0;i < chip->num_slots;i++) { | 1132 | for (i = 0;i < chip->num_slots;i++) { |
1131 | if (!chip->hosts[i]) | 1133 | if (!chip->hosts[i]) |