diff options
author | Jon Lin <[email protected]> | 2020-07-23 08:43:56 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-07-28 17:29:31 +0100 |
commit | 4294e4accf8d695ea5605f6b189008b692e3e82c (patch) | |
tree | 23d9e35d64c40b52838f2cbfaec2d2a945fdecbf /lib | |
parent | 13a96935e6f66bafb6da92791120546a4bf20889 (diff) |
spi: rockchip: Fix error in SPI slave pio read
The RXFLR is possible larger than rx_left in Rockchip SPI, fix it.
Fixes: 01b59ce5dac8 ("spi: rockchip: use irq rather than polling")
Signed-off-by: Jon Lin <[email protected]>
Tested-by: Emil Renner Berthing <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Reviewed-by: Emil Renner Berthing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions