Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298803
b: refs/heads/master
c: 210b7d2
h: refs/heads/master
i:
  298801: 9b7cc3c
  298799: 914f224
v: v3
  • Loading branch information
Manuel Lauss authored and Chris Ball committed Apr 6, 2012
1 parent f61aa6a commit 3968290
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb91b9118db8c05a5a1257b594b021d32b491254
refs/heads/master: 210b7d28598e402548b0164ca2f543e15aab8c6e
4 changes: 3 additions & 1 deletion trunk/drivers/mmc/host/sdhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ static int jmicron_resume(struct sdhci_pci_chip *chip)

static const struct sdhci_pci_fixes sdhci_o2 = {
.probe = o2_probe,
.quirks2 = SDHCI_QUIRK2_BROKEN_MSI,
};

static const struct sdhci_pci_fixes sdhci_jmicron = {
Expand Down Expand Up @@ -1418,7 +1419,8 @@ static int __devinit sdhci_pci_probe(struct pci_dev *pdev,

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

pci_enable_msi(pdev);
if (!(chip->quirks2 & SDHCI_QUIRK2_BROKEN_MSI))
pci_enable_msi(pdev);

for (i = 0; i < slots; i++) {
slot = sdhci_pci_probe_slot(pdev, chip, first_bar, i);
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/linux/mmc/sdhci.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ struct sdhci_host {
unsigned int quirks2; /* More deviations from spec. */

#define SDHCI_QUIRK2_HOST_OFF_CARD_ON (1<<0)
/* broken MSI Interrupts */
#define SDHCI_QUIRK2_BROKEN_MSI (1<<1)

int irq; /* Device IRQ */
void __iomem *ioaddr; /* Mapped address */
Expand Down

0 comments on commit 3968290

Please sign in to comment.