commit | 1412b8d48a920f1a4f5eac256814d25c320fb9b6 | [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 | 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>