commit | b40efd3d0992a7958390f4ebd8092b8da06cade3 | [log] [tgz] |
---|---|---|
author | Dylan Jhong <dylan@andestech.com> | Thu Apr 01 16:48:51 2021 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed May 05 16:12:14 2021 +0800 |
tree | 70d2148b4993b94c8de913c5ec5ebc326b5cd3eb | |
parent | 968a13fedcf3a000a712616eb5f86c04291149e6 [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>