mmc: ignore bad max block size in sdhci
authorDavid Vrabel <david.vrabel@csr.com>
Fri, 10 Aug 2007 12:25:03 +0000 (13:25 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Thu, 23 Aug 2007 04:27:50 +0000 (06:27 +0200)
commit03f8590d90844f04d20488a80e75eaf4c4e0b35c
tree8ab7bc1dbbc56aee21e252ab98a57b420a537233
parent2b061973404802fb87db93175b856ee0dfbe38e4
mmc: ignore bad max block size in sdhci

Some SDHC cards report an invalid maximum block size, in these cases
assume they support block sizes up to 512 bytes instead of returning
an error.

Signed-off-by: David Vrabel <david.vrabel@csr.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/sdhci.c