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>
This commit is contained in:
committed by
Pierre Ossman
parent
9942448837
commit
58a5dd3e0e
@@ -494,7 +494,7 @@ static int mmc_test_basic_read(struct mmc_test_card *test)
|
|||||||
|
|
||||||
sg_init_one(&sg, test->buffer, 512);
|
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)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user