diff options
author | Eddie James <eajames@linux.ibm.com> | 2022-05-25 11:58:51 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-26 14:43:28 +0100 |
commit | 61bf40ef51aa73f6216b33563271b6acf7ea8d70 (patch) | |
tree | b760dcdac713de3a994f7164a632ba767869d2d4 /drivers/gpu/drm/amd/amdgpu/atom.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions