commit | 56e497eba1bd13f93c50183d5c1cefff77f0933b | [log] [tgz] |
---|---|---|
author | Icenowy Zheng <uwu@icenowy.me> | Tue Jun 28 14:49:24 2022 +0800 |
committer | Andre Przywara <andre.przywara@arm.com> | Mon Jul 18 11:27:58 2022 +0100 |
tree | 16f1f628dd0acd0208d16d1ace55069fac9a0b88 | |
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>