diff options
| author | Damien Le Moal <[email protected]> | 2022-03-01 10:35:43 +0000 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2022-03-15 17:43:11 +0800 |
| commit | 40b6435a62befe3e487b6ea0ff69a0206a907b0b (patch) | |
| tree | 41e261643fec37e1a4aed96fb1b9f0721894a38a /include/linux | |
| parent | 530f29cba55726a52d22adb762d4af41bf21bf02 (diff) | |
spi: dw: Force set K210 fifo length to 31
The Canaan Kendryte K210 SoC DW apb_ssi v4 spi controller is documented
to have a 32 word deep TX and RX FIFO, which spi_hw_init() detects.
However, when the RX FIFO is filled up to 32 entries (RXFLR = 32), an
RX FIFO overrun error occurs. Avoid this problem by force setting
fifo_len to 31.
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Niklas Cassel <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
