diff options
author | Icenowy Zheng <uwu@icenowy.me> | 2022-06-28 14:49:24 +0800 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2022-07-18 11:27:58 +0100 |
commit | 56e497eba1bd13f93c50183d5c1cefff77f0933b (patch) | |
tree | 16f1f628dd0acd0208d16d1ace55069fac9a0b88 /drivers/fpga/ivm_core.c | |
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 <uwu@icenowy.me>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/fpga/ivm_core.c')
0 files changed, 0 insertions, 0 deletions