[MMC] Fix sdhci PIO routines
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 2 Jul 2006 15:50:59 +0000 (16:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:50:59 +0000 (16:50 +0100)
commita406f5a3b68ee1db2306a2ba1c9b00dbd3505d05
tree47434d59bab5732b7154522e14923c591c666360
parent3192a28f7d34ea8f1d0fef8ca5bc0314b5b5bb19
[MMC] Fix sdhci PIO routines

The sdhci controllers operate with blocks, not bytes. The PIO routines must
therefore make sure that the minimum unit transfered is a complete block.

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