OpenCloudOS-Kernel/drivers/mmc/card
Johan Kristell c286d03cce mmc_test: block addressed cards
This patch fixes a bug in the multiblock write tests where the written
data is read back for verifying one block at a time.  The tests in
mmc_test assumes that all cards are byte addressable.

This will cause the multi block write tests to fail, leading the user of
the mmc_test driver thinking there is something wrong with the sdhci
driver they are testing.

The start address for the block is calculated as: blocknum * 512. For
block addressable cards the blocknum alone should be used.

Signed-off-by: Johan Kristell <johan.kristell@axis.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-02-11 13:59:42 -08:00
..
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
block.c mmc_block: fix queue cleanup 2010-01-11 09:34:06 -08:00
mmc_test.c mmc_test: block addressed cards 2010-02-11 13:59:42 -08:00
queue.c mmc_block: fix queue cleanup 2010-01-11 09:34:06 -08:00
queue.h mmc: bounce requests for simple hosts 2007-07-09 21:22:53 +02:00
sdio_uart.c tty: sdio_uart: Fix the locking on "func" for new code 2009-12-11 15:18:06 -08:00