Re: [PATCH 03/10] spi-nor: intel-spi: Fix broken software sequencing codes

2017-09-01 Thread Mika Westerberg
On Fri, Sep 01, 2017 at 01:00:34AM -0700, Bin Meng wrote: > There are two bugs in current intel_spi_sw_cycle(): > > - The 'data byte count' field should be the number of bytes > transferred minus 1 > - SSFSTS_CTL is the offset from ispi->sregs, not ispi->base > > Signed-off-by: Bin Meng This

[PATCH 03/10] spi-nor: intel-spi: Fix broken software sequencing codes

2017-09-01 Thread Bin Meng
There are two bugs in current intel_spi_sw_cycle(): - The 'data byte count' field should be the number of bytes transferred minus 1 - SSFSTS_CTL is the offset from ispi->sregs, not ispi->base Signed-off-by: Bin Meng --- drivers/mtd/spi-nor/intel-spi.c | 4 ++-- 1 file changed, 2 insertions(+