aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-ep93xx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-07-21 15:15:20 +0300
committerMark Brown <broonie@kernel.org>2021-07-22 12:41:19 +0100
commite3aa9acc71778266cc4743217ff1a1a53caf15d6 (patch)
treee4d1d4dd925f38433ebc66ad01bbdb4e5cd0fc25 /drivers/spi/spi-ep93xx.c
parentMerge series "spi: fsi: Reduce max transfer size to 8 bytes" from Eddie James <eajames@linux.ibm.com>: (diff)
downloadlinux-dev-e3aa9acc71778266cc4743217ff1a1a53caf15d6.tar.xz
linux-dev-e3aa9acc71778266cc4743217ff1a1a53caf15d6.zip
spi: pxa2xx: Adapt reset_sccr1() to the case when no message available
In some cases reset_sccr1() can be called when no message available. This means that there is no associated chip to receive that message and hence no threshold needs to be set. Adapt the function to such cases. Fixes: 3bbdc083262d ("spi: pxa2xx: Reuse int_stop_and_reset() in couple of places") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20210721121520.62605-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-ep93xx.c')
0 files changed, 0 insertions, 0 deletions