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)
commit40308f9642a85c30fa7cc5ab8672020cb96ecb66
tree8b7bc34a2e62e280d7d5fb837f865c72567f9bf3
parent26f30e3ee1bf120af1bde22d890e46a0c8dbeca0
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