Skip to content

Commit

Permalink
mmc_test: fix basic read test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rabin Vincent authored and Pierre Ossman committed Feb 18, 2009
1 parent 9942448 commit 58a5dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/card/mmc_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 58a5dd3

Please sign in to comment.