summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/nand_timings.c
diff options
context:
space:
mode:
authorWu, Josh <Josh.wu@atmel.com>2014-08-05 14:38:52 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-08-19 22:53:09 +0400
commitff0a215438cf7be0a652cb3457f562539bd40b22 (patch)
treebea81910d922d42201ea0f8b538e5b6219089405 /drivers/mtd/nand/nand_timings.c
parent1cc8d8413327a684cd5e93cd52ececb0223bb40b (diff)
downloadlinux-ff0a215438cf7be0a652cb3457f562539bd40b22.tar.xz
mtd: atmel_nand: NFC: fix mtd_nandbiterrs.ko test fail when using sram write
When enable NFC sram write, it will failed the mtd_nandbiterrs.ko test. As in driver's nfc_sram_write_page(), if ops->mode equal to MTD_OSP_RAW, driver assumes the data buffer contains one page data and one oob data followed. And driver will write the page data and oob data to nand. But this is wrong implementation. Since the data buffer don't contains the oob data to write. We should write the chip->oob_poi to nand's oob. So this patch fix it by writing the oob data from chip->oob_poi. Signed-off-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/nand_timings.c')
0 files changed, 0 insertions, 0 deletions