commit | 9d63f17661e25fd28714dac94bdebc4ff5b75f09 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Mon Sep 11 02:41:53 2017 -0700 |
committer | Cyrille Pitchen <cyrille.pitchen@wedev4u.fr> | Wed Oct 11 09:41:48 2017 +0200 |
tree | 849f0357fe5499a72c5271d5e9aa40ddb4645cbe | |
parent | e58348b0e41b56660a349d63448826df11bb6163 [diff] |
spi-nor: intel-spi: Fix broken software sequencing codes 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 <bmeng.cn@gmail.com> Cc: <stable@vger.kernel.org> # v4.11+ Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>