commit | 997cde2a222091270ce0c276e567b68e5615f577 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Tue Jun 13 22:45:47 2017 +0900 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Tue Jun 20 09:14:51 2017 +0200 |
tree | bf38d67224db2545d4faced7b826ce117b4072ec | |
parent | 57a4d8b5f6482718f17c08f2cdfea085b1d3c12a [diff] |
mtd: nand: denali: skip driver internal bounce buffer when possible For ecc->read_page() and ecc->write_page(), it is possible to call dma_map_single() against the given buffer. This bypasses the driver internal bounce buffer and save the memcpy(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>