瀏覽代碼

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>
Rabin Vincent 16 年之前
父節點
當前提交
58a5dd3e0e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/mmc/card/mmc_test.c

+ 1 - 1
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;