Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rabin Vincent and committed by
Pierre Ossman
58a5dd3e 99424488

+1 -1
+1 -1
drivers/mmc/card/mmc_test.c
··· 494 494 495 495 sg_init_one(&sg, test->buffer, 512); 496 496 497 - ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 1); 497 + ret = mmc_test_simple_transfer(test, &sg, 1, 0, 1, 512, 0); 498 498 if (ret) 499 499 return ret; 500 500