]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
drivers/i2c/fsl_i2c: Change CONFIG_I2C_TIMEOUT to 100ms
authorShaveta Leekha <shaveta@freescale.com>
Mon, 3 Nov 2014 05:13:14 +0000 (10:43 +0530)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Nov 2014 05:47:36 +0000 (06:47 +0100)
commit6dd38cc35245db624443ee596eb78853fa9cca7a
treef1bf2767b96ccc8906c20d3352f2788210a0f2bb
parentb97cd6814ec08be56225975a050ee486bfa7c13a
drivers/i2c/fsl_i2c: Change CONFIG_I2C_TIMEOUT to 100ms

Some slow I2C devices like Power Monitor(ZM7304) at times
do not work well with low timeout value, so I2C bus get stuck
during read cycle with this device, changing it to 100ms from
10ms works fine

A lot of other i2c drivers like mxc and i2c drivers of BOOTROM
also use relax timeouts to give sufficient ticks to work well
with slower devices

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
drivers/i2c/fsl_i2c.c