commit | a244be61451112911a2d3a02ee3664780589ea13 | [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 | 632c88eb2126c36707a188b41a0df00f0bd84d1b [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>