diff options
author | Dylan Jhong | 2021-04-01 16:48:51 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang | 2021-05-05 16:12:14 +0800 |
commit | 1412b8d48a920f1a4f5eac256814d25c320fb9b6 (patch) | |
tree | 70d2148b4993b94c8de913c5ec5ebc326b5cd3eb /cmd/riscv/exception.c | |
parent | bc8bbb77f74f21582b3bfd790334397757f88575 (diff) |
atcspi200: Add timeout mechanism in spi_xfer()
Adding timeout mechanism to avoid spi driver from stucking
in the while loop in __atcspi200_spi_xfer().
Signed-off-by: Dylan Jhong <dylan@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'cmd/riscv/exception.c')
0 files changed, 0 insertions, 0 deletions