summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2009-02-13 22:55:26 +0530
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-16 17:52:54 -0700
commit1195cc9072f2db757317877ae895276e2e4dd8f2 (patch)
treecced78858ef5cbf3c5f12c063cdeb68b4b099e22
parentdc0e461f5446621c2d4b872cf58a6ad329286ba9 (diff)
downloadlwn-1195cc9072f2db757317877ae895276e2e4dd8f2.tar.gz
lwn-1195cc9072f2db757317877ae895276e2e4dd8f2.zip
mmc_test: fix basic read test
commit 58a5dd3e0e77029d3db1f8fa75d0b54b38169d5d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 b92b172074ee..b9f1e84897cc 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;