Re: [PATCH v7 2/7] mtd: spi-nor: ignore errors in spi_nor_unlock_all()

2020-12-03 Thread Tudor.Ambarus
On 12/3/20 1:00 AM, Michael Walle wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Just try to unlock the whole SPI-NOR flash array. Don't abort the > probing in case of an error. Justifications: > (1) For some boards, this just works beca

[PATCH v7 2/7] mtd: spi-nor: ignore errors in spi_nor_unlock_all()

2020-12-02 Thread Michael Walle
Just try to unlock the whole SPI-NOR flash array. Don't abort the probing in case of an error. Justifications: (1) For some boards, this just works because spi_nor_write_16bit_sr_and_check() is broken and just checks the second half of the 16bit. Once that will be fixed, SPI probe will