]> git.baikalelectronics.ru Git - kernel.git/commit
spi: fsi: Increase timeout and ensure status is checked
authorEddie James <eajames@linux.ibm.com>
Thu, 23 Jun 2022 14:05:47 +0000 (09:05 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jun 2022 14:48:21 +0000 (15:48 +0100)
commit4d1b55973c005f76d3d2d8a829062321df2f34f1
tree8b7bc34a2e62e280d7d5fb837f865c72567f9bf3
parent9f9bd770963ab31eddea294f13632d7337327aba
spi: fsi: Increase timeout and ensure status is checked

Only timeout after at least one iteration of checking the
status registers. In addition, increase the transfer timeout
to 1 second.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20220623140547.71762-1-eajames@linux.ibm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-fsi.c