diff options
| author | Boris BREZILLON <[email protected]> | 2015-10-20 20:16:01 +0000 |
|---|---|---|
| committer | Brian Norris <[email protected]> | 2015-11-02 20:54:37 +0000 |
| commit | 28ec8a864f4b67bb801aede7919391531612c7dd (patch) | |
| tree | 429945b3feef95bf11f368b65e7ebda241b0b930 /lib/mpi/mpicoder.c | |
| parent | mtd: nand: sunxi: fix sunxi_nfc_hw_ecc_read/write_chunk() (diff) | |
| download | kernel-28ec8a864f4b67bb801aede7919391531612c7dd.tar.gz kernel-28ec8a864f4b67bb801aede7919391531612c7dd.zip | |
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 <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
