Skip to content
Unverified Commit 5457773e authored by Tobias Schramm's avatar Tobias Schramm Committed by Mark Brown
Browse files

spi: rockchip: handle zero length transfers without timing out



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: default avatarTobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20210827050357.165409-1-t.schramm@manjaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 26cfc0db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment