[MMC] sdhci: Test for invalid block size
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 2 Jul 2006 15:52:10 +0000 (16:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:52:10 +0000 (16:52 +0100)
commit1d676e02970d9e511c9b96101501da90954ee265
tree59a5e1c46584cfa7683d33d4c3ff494589ee65e3
parentbab7696184bbf0ea48d56902bd1f9ac983079ad2
[MMC] sdhci: Test for invalid block size

The controller has an upper limit on the block size. Make sure we do not
cross it.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/sdhci.c
drivers/mmc/sdhci.h