diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2015-10-20 22:16:01 +0200 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-02 12:54:37 -0800 |
commit | 28ec8a864f4b67bb801aede7919391531612c7dd (patch) | |
tree | 429945b3feef95bf11f368b65e7ebda241b0b930 /drivers/mtd/mtdcore.c | |
parent | 74eb9ff54e21dbeefa04ff30e6aaf780b91dd261 (diff) |
mtd: nand: sunxi: avoid retrieving data before ECC pass
The in-band data are copied twice: before ECC correction and after the
ECC engine has fixed all the fixable bitflips.
Drop the useless memcpy_fromio operation by passing a NULL pointer when
calling sunxi_nfc_read_buf().
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/mtdcore.c')
0 files changed, 0 insertions, 0 deletions