Re: [PATCH 1/3] mtd: spi-nor: sst: fix write support for SST_WRITE marked devices

2020-09-16 Thread Tudor.Ambarus
On 9/14/20 3:00 PM, Vignesh Raghavendra wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 9/11/20 8:17 PM, Marco Felsch wrote: >> The sst write support for devices using the special SST_WRITE routine >> is broken since commit commit df5c2

Re: [PATCH 1/3] mtd: spi-nor: sst: fix write support for SST_WRITE marked devices

2020-09-14 Thread Vignesh Raghavendra
On 9/11/20 8:17 PM, Marco Felsch wrote: > The sst write support for devices using the special SST_WRITE routine > is broken since commit commit df5c21002cf4 ("mtd: spi-nor: use spi-mem > dirmap API") because the spi_nor_create_write_dirmap() function checks > SPINOR_OP_AAI_WP and sst_write_secon

[PATCH 1/3] mtd: spi-nor: sst: fix write support for SST_WRITE marked devices

2020-09-11 Thread Marco Felsch
The sst write support for devices using the special SST_WRITE routine is broken since commit commit df5c21002cf4 ("mtd: spi-nor: use spi-mem dirmap API") because the spi_nor_create_write_dirmap() function checks SPINOR_OP_AAI_WP and sst_write_second. These checks are not valid during probe. The che