Miquel Raynal 9a8f612ca0 mtd: rawnand: marvell: Clean the controller state before each operation
Since the migration of the driver to stop using the legacy
->select_chip() hook, there is nothing deselecting the target anymore,
thus the selection is not forced at the next access. Ensure the ND_RUN
bit and the interrupts are always in a clean state.

Cc: Daniel Mack <daniel@zonque.org>
Cc: stable@vger.kernel.org
Fixes: b25251414f6e00 ("mtd: rawnand: marvell: Stop implementing ->select_chip()")
Suggested-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-04-25 23:21:51 +02:00
..
2019-03-04 18:59:37 -08:00
2018-12-29 12:03:17 -08:00
2019-03-04 19:23:56 -08:00
2018-10-31 08:54:16 -07:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00
2018-12-28 20:54:57 -08:00
2018-11-12 11:44:13 +01:00
2018-10-16 08:09:58 -06:00
2019-03-04 18:59:37 -08:00
2019-01-07 14:06:24 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00