mtd: rawnand: ams-delta: Write protect device during probe
authorJanusz Krzysztofik <jmkrzyszt@gmail.com>
Wed, 12 Feb 2020 00:39:16 +0000 (01:39 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 9 Mar 2020 13:51:01 +0000 (14:51 +0100)
commit91a1abfb752357fe5d0783bd69db0d91f358e3eb
tree372ae59651f12245f3d11e3043ac80835d2674a0
parentc4b7dd35d35936964c71db42e1d94994ee6ea411
mtd: rawnand: ams-delta: Write protect device during probe

Initialise NWP GPIO pin as asserted to protect the device from hazard
during setup of other GPIO pins.

Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20200212003929.6682-2-jmkrzyszt@gmail.com
drivers/mtd/nand/raw/ams-delta.c