summaryrefslogtreecommitdiff
path: root/drivers/mmc/card/mmc_test.c
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2009-02-13 17:25:26 (GMT)
committerPierre Ossman <drzeus@drzeus.cx>2009-02-18 20:01:14 (GMT)
commit58a5dd3e0e77029d3db1f8fa75d0b54b38169d5d (patch)
tree87d901456c19394f31b8344790ffd285891be6cc /drivers/mmc/card/mmc_test.c
parent994244883739e4044bef76d4e5d7a9b66dc6c7b6 (diff)
downloadlinux-58a5dd3e0e77029d3db1f8fa75d0b54b38169d5d.tar.xz
mmc_test: fix basic read test
Due to a typo in the Basic Read test, it's currently identical to the Basic Write test. Fix this. Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc/card/mmc_test.c')
-rw-r--r--drivers/mmc/card/mmc_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c
index b92b172..b9f1e84 100644
--- a/drivers/mmc/card/mmc_test.c
+++ b/drivers/mmc/card/mmc_test.c
@@ -494,7 +494,7 @@ static int mmc_test_basic_read(struct mmc_test_card *test)
sg_init_one(&sg, test->buffer, 512);
- ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 1);
+ ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 0);
if (ret)
return ret;