Tobias Schramm 2ababcd8c2 spi: rockchip: handle zero length transfers without timing out
[ Upstream commit 5457773ef99f25fcc4b238ac76b68e28273250f4 ]

Previously zero length transfers submitted to the Rokchip SPI driver would
time out in the SPI layer. This happens because the SPI peripheral does
not trigger a transfer completion interrupt for zero length transfers.

Fix that by completing zero length transfers immediately at start of
transfer.

Signed-off-by: Tobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20210827050357.165409-1-t.schramm@manjaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-09 14:40:55 +02:00
..
2020-10-24 10:33:08 -07:00
2021-07-28 14:35:40 +02:00
2020-10-08 23:00:06 +01:00
2020-10-08 23:00:06 +01:00
2020-07-17 16:38:47 +01:00
2021-08-08 09:05:24 +02:00
2020-10-24 10:33:08 -07:00