diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-01-10 09:52:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-01-10 15:33:12 +0100 |
commit | 285d7d21ab0acc7a50590dd322915ce6f49fa400 (patch) | |
tree | ff7e8f2ba0cd5b662ce24ec1e5ff2c570ed890c3 /drivers/spi | |
parent | a6ba83b084415c508bebd4e336aff783cf299725 (diff) | |
download | barebox-285d7d21ab0acc7a50590dd322915ce6f49fa400.tar.gz |
i2c: imx: increase timeout in i2c_fsl_poll_status from 1 to 5ms
The current wait time of 1 ms is apparently too short in some
circumstances leading to following error when communicating
with a KSZ switch with 100 kHz from an i.MX8MN I2C controller:
ERROR: ksz9477-i2c ksz85630: error detecting KSZ9477: I/O error
Increasing the poll time to 5ms resolved this issue:
ksz9477-i2c ksz85630: Found KSZ9893
ksz9477-i2c ksz85630: chip id: 0x00989360
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20230110085237.3440824-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions