summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2022-03-17 16:14:26 -0500
committerMark Brown <broonie@kernel.org>2022-03-18 16:05:08 +0000
commit89b35e3f28514087d3f1e28e8f5634fbfd07c554 (patch)
tree40c27e02be84cfe185165eaa707f2339f5771325 /drivers/input
parentebc4cb43ea5ada3db46c80156fca58a54b9bbca8 (diff)
downloadlinux-89b35e3f28514087d3f1e28e8f5634fbfd07c554.tar.gz
linux-89b35e3f28514087d3f1e28e8f5634fbfd07c554.tar.bz2
linux-89b35e3f28514087d3f1e28e8f5634fbfd07c554.zip
spi: fsi: Implement a timeout for polling status
The data transfer routines must poll the status register to determine when more data can be shifted in or out. If the hardware gets into a bad state, these polling loops may never exit. Prevent this by returning an error if a timeout is exceeded. Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20220317211426.38940-1-eajames@linux.ibm.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions