spi: rockchip: clear interrupt status in error handler
authorJon Lin <jon.lin@rock-chips.com>
Wed, 16 Feb 2022 01:40:28 +0000 (09:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 17 Feb 2022 17:15:11 +0000 (17:15 +0000)
commit2fcdde56c44fe1cd13ce328128f509bbda2cdb41
tree05ec9c06390221db4ba97841d4bce4a39e608a93
parente882575efc771f130a24322377dc1033551da11d
spi: rockchip: clear interrupt status in error handler

The interrupt status bit of the previous error data transmition will
affect the next operation and cause continuous SPI transmission failure.

Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
Link: https://lore.kernel.org/r/20220216014028.8123-7-jon.lin@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c