> From: Dylan Dai-Rong Jhong(鍾岱融) <dy...@andestech.com> > Sent: Thursday, April 01, 2021 4:49 PM > To: ja...@amarulasolutions.com; u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志) <r...@andestech.com>; Ruinland Chuan-Tzu Tsa(蔡傳資) > <ruinl...@andestech.com>; Alan Quey-Liang Kao(高魁良) <alan...@andestech.com>; > Leo Yu-Chi Liang(梁育齊) <ycli...@andestech.com>; x57109...@gmail.com; Dylan > Dai-Rong Jhong(鍾岱融) <dy...@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 <dy...@andestech.com> > --- > drivers/spi/atcspi200_spi.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-)
Reviewed-by: Rick Chen <r...@andestech.com>