]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit70d8a857ee806eae5456be0fc96f7406089083c2
tree47434d59bab5732b7154522e14923c591c666360
parent6020a34e939f9f9f7f74990078caebcd10a1bcbe
[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