]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: diskonchip: Implement exec_op()
authorBoris Brezillon <boris.brezillon@collabora.com>
Fri, 1 May 2020 14:39:16 +0000 (16:39 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 11 May 2020 07:51:43 +0000 (09:51 +0200)
commit9e376a2984b91217ccb715a5f9364eea5e037afd
treed1f9a636a104d29e1ed9207597ae7512bf07717a
parent5ea50b8201dec750af0271c4c5fe52040913b2ab
mtd: rawnand: diskonchip: Implement exec_op()

Implement exec_op() so we can later get rid of the legacy
implementation.

It's worth noting that the new implementation assert/deassert the CE
pin on each operation, which might not be necessary. We also dropped
the extra reset done at chip selection time on DOC2001plus. If it's
needed we really should do something smarter, because having a reset
everytime we access the chip is not that great perf-wise.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200501143917.1388957-5-boris.brezillon@collabora.com
drivers/mtd/nand/raw/diskonchip.c