Re: [PATCH 1/5] mtd: spi: Call sst_write in _write ops

2020-05-19 Thread Jagan Teki
On Thu, May 14, 2020 at 5:41 PM Jagan Teki wrote: > > Currently spi-nor code is assigning _write ops for SST > and other flashes separately. > > Just call the sst_write from generic write ops and return > if SST flash found, this way it avoids the confusion of > multiple write ops assignment durin

[PATCH 1/5] mtd: spi: Call sst_write in _write ops

2020-05-14 Thread Jagan Teki
Currently spi-nor code is assigning _write ops for SST and other flashes separately.  Just call the sst_write from generic write ops and return if SST flash found, this way it avoids the confusion of multiple write ops assignment during the scan and makes it more feasible for code readability. No