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. Also include a patch to display the error return code when failing to transfer one message, which would have been very helpful in debugging this issue. Eddie James (2): spi: fsi: Fix spurious timeout spi: core: Display return code when failing to transfer message drivers/spi/spi-fsi.c | 12 ++++++------ drivers/spi/spi.c | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) -- 2.27.0