Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297355
b: refs/heads/master
c: e603983
h: refs/heads/master
i:
  297353: 63ba723
  297351: 8bebfed
v: v3
  • Loading branch information
Alexander Stein authored and Chris Ball committed Mar 27, 2012
1 parent 53ce005 commit 00b6050
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2378975bd5ed583da555c7e5dee121663b7d5f46
refs/heads/master: e6039832bed9a9b967796d7021f17f25b625b616
6 changes: 6 additions & 0 deletions trunk/drivers/mmc/host/sdhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1385,6 +1385,8 @@ static int __devinit sdhci_pci_probe(struct pci_dev *pdev,

slots = chip->num_slots; /* Quirk may have changed this */

pci_enable_msi(pdev);

for (i = 0; i < slots; i++) {
slot = sdhci_pci_probe_slot(pdev, chip, first_bar, i);
if (IS_ERR(slot)) {
Expand All @@ -1403,6 +1405,8 @@ static int __devinit sdhci_pci_probe(struct pci_dev *pdev,
return 0;

free:
pci_disable_msi(pdev);

pci_set_drvdata(pdev, NULL);
kfree(chip);

Expand All @@ -1425,6 +1429,8 @@ static void __devexit sdhci_pci_remove(struct pci_dev *pdev)
for (i = 0; i < chip->num_slots; i++)
sdhci_pci_remove_slot(chip->slots[i]);

pci_disable_msi(pdev);

pci_set_drvdata(pdev, NULL);
kfree(chip);
}
Expand Down

0 comments on commit 00b6050

Please sign in to comment.