[PATCH] atcspi200: Add timeout mechanism in spi_xfer()

Rick Chen rickchen36 at gmail.com
Fri Apr 23 02:47:48 CEST 2021


> From: Dylan Dai-Rong Jhong(鍾岱融) <dylan at andestech.com>
> Sent: Thursday, April 01, 2021 4:49 PM
> To: jagan at amarulasolutions.com; u-boot at lists.denx.de
> Cc: Rick Jian-Zhi Chen(陳建志) <rick at andestech.com>; Ruinland Chuan-Tzu Tsa(蔡傳資) <ruinland at andestech.com>; Alan Quey-Liang Kao(高魁良) <alankao at andestech.com>; Leo Yu-Chi Liang(梁育齊) <ycliang at andestech.com>; x5710999x at gmail.com; Dylan Dai-Rong Jhong(鍾岱融) <dylan at andestech.com>
> Subject: [PATCH] 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 at andestech.com>
> ---
>  drivers/spi/atcspi200_spi.c | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list