diff options
author | Johan Kristell <[email protected]> | 2010-02-10 13:56:34 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-02-11 13:59:42 -0800 |
commit | c286d03cce118e9fb8dda8da43f9131c169c5a75 (patch) | |
tree | bcc136934c1b3699163a4a59ef64f7849b620ec0 /net/lapb/lapb_in.c | |
parent | 93716b9470fbfd9efdc7d0f2445cb34635de3f6d (diff) |
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 <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions