Skip to content
Commit 199e6111 authored by Phil Elwell's avatar Phil Elwell Committed by Phil Elwell
Browse files

spi: dw: Fix non-DMA transmit-only transfers

Ensure the transmit FIFO has emptied before ending the transfer by
dropping the TX threshold to 0 when the last byte has been pushed into
the FIFO. Include a similar fix for the non-IRQ paths.

See: https://github.com/raspberrypi/linux/issues/6285


Fixes: 6014649d ("spi: dw: Save bandwidth with the TMOD_TO feature")
Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.com>
parent 70636ad1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment