[PATCH 0/2] spi: imx: don't loop endlessly

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Wed Aug 2 12:39:05 PDT 2017


Hello,

during bringup of an i.MX7 board I am faced with cspi_2_3_xchg_single not
returning. I don't know yet why this happens, but with this patch set it at least
doesn't block barebox.

I didn't test on a working board, maybe the timeout (10 µs) I chose is too tight?

Best regards
Uwe

Uwe Kleine-König (2):
  spi: imx: add error checking
  spi: imx: add timeout to xchg_single

 drivers/spi/imx_spi.c | 105 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 72 insertions(+), 33 deletions(-)

-- 
2.11.0




More information about the barebox mailing list