android_kernel_xiaomi_sm8350/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
..
block.c mmc_block: fix queue cleanup 2010-01-11 09:34:06 -08:00
Kconfig
Makefile
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
sdio_uart.c tty: sdio_uart: Fix the locking on "func" for new code 2009-12-11 15:18:06 -08:00