Re: [PATCH v6 0/2] sf: Check protection before writing/erasing flash

2022-05-31 Thread Tom Rini
On Sat, May 28, 2022 at 02:07:17PM +0200, Jan Kiszka wrote: > On 02.03.22 15:01, Jan Kiszka wrote: > > Changes in v6: > > - fixed embarrassingly inverted logic in unlock check > >(and properly tested it this time) > > > > Changes in v5: > > - adjust unused is_locked callback to our is_unlock

Re: [PATCH v6 0/2] sf: Check protection before writing/erasing flash

2022-05-28 Thread Jan Kiszka
On 02.03.22 15:01, Jan Kiszka wrote: > Changes in v6: > - fixed embarrassingly inverted logic in unlock check >(and properly tested it this time) > > Changes in v5: > - adjust unused is_locked callback to our is_unlocked needs > - use this callback in sf command instead > > Jan > > Jan Ki

[PATCH v6 0/2] sf: Check protection before writing/erasing flash

2022-03-02 Thread Jan Kiszka
Changes in v6: - fixed embarrassingly inverted logic in unlock check (and properly tested it this time) Changes in v5: - adjust unused is_locked callback to our is_unlocked needs - use this callback in sf command instead Jan Jan Kiszka (2): mtd: spi: Convert is_locked callback to is_unlo