Re: [RFC PATCH 2/8] mtd: rawnand: ams-delta: Write protect device during probe

2018-07-20 Thread Janusz Krzysztofik
On Thursday, July 19, 2018 8:22:00 AM CEST Boris Brezillon wrote: > On Thu, 19 Jul 2018 01:57:04 +0200 > Janusz Krzysztofik wrote: > > > Initialize NWP GPIO pin low to protect the device from hazard during > > probe. Release write protection as soon as the device is under > > control. > > > > S

Re: [RFC PATCH 2/8] mtd: rawnand: ams-delta: Write protect device during probe

2018-07-18 Thread Boris Brezillon
On Thu, 19 Jul 2018 01:57:04 +0200 Janusz Krzysztofik wrote: > Initialize NWP GPIO pin low to protect the device from hazard during > probe. Release write protection as soon as the device is under > control. > > Signed-off-by: Janusz Krzysztofik > --- > drivers/mtd/nand/raw/ams-delta.c | 10 +

[RFC PATCH 2/8] mtd: rawnand: ams-delta: Write protect device during probe

2018-07-18 Thread Janusz Krzysztofik
Initialize NWP GPIO pin low to protect the device from hazard during probe. Release write protection as soon as the device is under control. Signed-off-by: Janusz Krzysztofik --- drivers/mtd/nand/raw/ams-delta.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/driv