]> Git Repo - J-u-boot.git/commit - drivers/spi/atcspi200_spi.c
atcspi200: Add timeout mechanism in spi_xfer()
authorDylan Jhong <[email protected]>
Thu, 1 Apr 2021 08:48:51 +0000 (16:48 +0800)
committerLeo Yu-Chi Liang <[email protected]>
Wed, 5 May 2021 08:12:14 +0000 (16:12 +0800)
commit1412b8d48a920f1a4f5eac256814d25c320fb9b6
tree70d2148b4993b94c8de913c5ec5ebc326b5cd3eb
parentbc8bbb77f74f21582b3bfd790334397757f88575
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 <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Reviewed-by: Rick Chen <[email protected]>
drivers/spi/atcspi200_spi.c
This page took 0.031969 seconds and 4 git commands to generate.