Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64333
b: refs/heads/master
c: 03f8590
h: refs/heads/master
i:
  64331: ef0c4e0
v: v3
  • Loading branch information
David Vrabel authored and Pierre Ossman committed Aug 23, 2007
1 parent 015ff41 commit af6dfa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 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: 2b061973404802fb87db93175b856ee0dfbe38e4
refs/heads/master: 03f8590d90844f04d20488a80e75eaf4c4e0b35c
9 changes: 4 additions & 5 deletions trunk/drivers/mmc/host/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1347,12 +1347,11 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
*/
mmc->max_blk_size = (caps & SDHCI_MAX_BLOCK_MASK) >> SDHCI_MAX_BLOCK_SHIFT;
if (mmc->max_blk_size >= 3) {
printk(KERN_ERR "%s: Invalid maximum block size.\n",
printk(KERN_WARNING "%s: Invalid maximum block size, assuming 512\n",
host->slot_descr);
ret = -ENODEV;
goto unmap;
}
mmc->max_blk_size = 512 << mmc->max_blk_size;
mmc->max_blk_size = 512;
} else
mmc->max_blk_size = 512 << mmc->max_blk_size;

/*
* Maximum block count.
Expand Down

0 comments on commit af6dfa4

Please sign in to comment.