mtd: rawnand: atmel: add module param to avoid using dma
authorPeter Rosin <peda@axentia.se>
Thu, 29 Mar 2018 13:10:54 +0000 (15:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Oct 2018 00:00:50 +0000 (17:00 -0700)
commit8cbb2f74c0939901d8b96b8fa820afe619790758
tree2bdcc9d15aec6d932a640364bae1e2107c8b6ca4
parenta838008bb11f96f14bfc48a22e88116eb74351ab
mtd: rawnand: atmel: add module param to avoid using dma

[ Upstream commit efc6362c6f8c1e74b340e2611f1b35e7d557ce7b ]

On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND
flash accesses have a tendency to cause display disturbances. Add a
module param to disable DMA from the NAND controller, since that fixes
the display problem for me.

Signed-off-by: Peter Rosin <peda@axentia.se>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/atmel/nand-controller.c