Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102187
b: refs/heads/master
c: 93fc48c
h: refs/heads/master
i:
  102185: a556a35
  102183: f089125
v: v3
  • Loading branch information
Pierre Ossman committed Jul 15, 2008
1 parent 9a24e73 commit ce82579
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 0121a9829bf28c65e1a05cc881899c10d82b8de2
refs/heads/master: 93fc48c785f6266e67663b3cbbf24579b53fe5cf
10 changes: 6 additions & 4 deletions trunk/drivers/mmc/host/sdhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ static int jmicron_probe(struct sdhci_pci_chip *chip)
{
int ret;

if (chip->pdev->revision == 0) {
chip->quirks |= SDHCI_QUIRK_32BIT_DMA_ADDR |
SDHCI_QUIRK_32BIT_DMA_SIZE |
SDHCI_QUIRK_RESET_AFTER_REQUEST;
}

/*
* JMicron chips can have two interfaces to the same hardware
* in order to work around limitations in Microsoft's driver.
Expand Down Expand Up @@ -250,10 +256,6 @@ static int jmicron_resume(struct sdhci_pci_chip *chip)
}

static const struct sdhci_pci_fixes sdhci_jmicron = {
.quirks = SDHCI_QUIRK_32BIT_DMA_ADDR |
SDHCI_QUIRK_32BIT_DMA_SIZE |
SDHCI_QUIRK_RESET_AFTER_REQUEST,

.probe = jmicron_probe,

.probe_slot = jmicron_probe_slot,
Expand Down

0 comments on commit ce82579

Please sign in to comment.