]> 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)
commit6186abd4699be2e4fc7ec9dde5df8a3cb8ecb1c8
tree8b7bc34a2e62e280d7d5fb837f865c72567f9bf3
parent3dc4c107fd7f8d1365168322937524120b33ebf1
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