diff options
| author | Icenowy Zheng <[email protected]> | 2022-06-28 14:49:24 +0800 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2022-07-18 11:27:58 +0100 |
| commit | 56e497eba1bd13f93c50183d5c1cefff77f0933b (patch) | |
| tree | 16f1f628dd0acd0208d16d1ace55069fac9a0b88 /include/linux/string.h | |
| parent | 68655e6ce14c5eff8d0aad84dc40d7ca1d40c2e9 (diff) | |
spi: sunxi: use XCH status to detect in-progress transfer
The current detection of RX FIFO depth seems to be not reliable, and
XCH will self-clear when a transfer is done.
Check XCH bit when polling for transfer finish.
Signed-off-by: Icenowy Zheng <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
