From: Rabin Vincent Date: Fri, 13 Feb 2009 17:25:26 +0000 (+0530) Subject: mmc_test: fix basic read test X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=58a5dd3e0e77029d3db1f8fa75d0b54b38169d5d;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Signed-off-by: Pierre Ossman --- diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index b92b172074e..b9f1e84897c 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;