mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mtd: nandbiterrs: Support for NAND biterrors test on platforms without raw write
Support for NAND biterrors test on platforms without raw write While the default test mode relies on raw write (mtd_write_oob) to introduce bit errors into a page, the rewrite test mode doesn't need it. Changed the overwrite test to use normal writes. The default test mode is unaffected and still requires raw write as before. Signed-off-by: Iwo Mergler <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
This commit is contained in:
parent
03b1d11a99
commit
97b671315e
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ static int overwrite_test(void)
|
|||
|
||||
while (opno < max_overwrite) {
|
||||
|
||||
err = rewrite_page(0);
|
||||
err = write_page(0);
|
||||
if (err)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue