]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i2c: s3c24x0: reduce transmission status timeout
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Jan 2015 12:36:35 +0000 (13:36 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:50:44 +0000 (13:50 +0200)
commitdf3656258c13dcb60b897ab56a3a0cae0855a5ff
treeff3dc154f88ef8e80b0efd5530faa711d99a2135
parent32fa4ecd7a6326839e4c7e0aced963df80896f51
i2c: s3c24x0: reduce transmission status timeout

If no device is connected to I2C bus, the i2c probe command
can take a lot of time for probe each address. This commit
reduces the busy timeout to 10ms for standard and high speed
modes. This doesn't break the transmission an also allow for
properly probe the devices.

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Changes v3:
- new commit, after split the next one
Tested-by: Simon Glass <sjg@chromium.org>
drivers/i2c/s3c24x0_i2c.c