diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2019-04-08 10:31:45 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-04-25 23:21:51 +0200 |
commit | 9a8f612ca0d6a436e6471c9bed516d34a2cc626f (patch) | |
tree | a9bb12d20f8a09169275d178a5b5c48c82851a87 /drivers/usb/storage/realtek_cr.c | |
parent | 085b7755808aa11f78ab9377257e1dad2e6fa4bb (diff) |
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>
Diffstat (limited to 'drivers/usb/storage/realtek_cr.c')
0 files changed, 0 insertions, 0 deletions