commit | 61bf40ef51aa73f6216b33563271b6acf7ea8d70 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Wed May 25 11:58:51 2022 -0500 |
committer | Mark Brown <broonie@kernel.org> | Thu May 26 14:43:28 2022 +0100 |
tree | b760dcdac713de3a994f7164a632ba767869d2d4 | |
parent | 9c63b846e6df43e5b3d31263f7db545f32deeda3 [diff] |
spi: fsi: Fix spurious timeout The driver may return a timeout error even if the status register indicates that the transfer may proceed. Fix this by restructuring the polling loop. Fixes: 89b35e3f2851 ("spi: fsi: Implement a timeout for polling status") Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20220525165852.33167-2-eajames@linux.ibm.com Signed-off-by: Mark Brown <broonie@kernel.org>