summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2022-03-18 00:14:26 +0300
committerJoel Stanley <joel@jms.id.au>2022-03-21 08:21:28 +0300
commitb3b33a63865dc178212ef70f87acf9ab64436567 (patch)
treed7abfa69c2c49999e80754cc81134d455b705b69 /Documentation
parente7265ec49718d7f22c7555c809763771db5db323 (diff)
downloadlinux-b3b33a63865dc178212ef70f87acf9ab64436567.tar.xz
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. OpenBMC-Staging-Count: 1 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: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions