commit | 2de85e73360104d3582363dcebdcdd7dc20431be | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue May 16 00:23:45 2017 +0200 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Thu Jun 01 10:09:31 2017 +0200 |
tree | 194086d78587c7a4a98b8821a2a37e3e24dcbf4c | |
parent | 7d135bcced20be2b50128432c5426a7278ec4f6d [diff] |
mtd: nand: sunxi: Actually use DMA for subpage reads ecc->read_subpage is set to sunxi_nfc_hw_ecc_read_subpage_dma when ->dmac != NULL, but is then unconditionally overwritten in the common init path. Remove this extra assignment to allow usage of the DMA operation when possible. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>