]> git.sur5r.net Git - u-boot/commit
i2c: s3c24x0: reduce transmission status timeout
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Tue, 27 Jan 2015 12:36:35 +0000 (13:36 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Feb 2015 17:35:29 +0000 (10:35 -0700)
commita3e757a5d295329b504123f0995b35cf694c7613
tree434da4f77e1fdddc13e81fb0db27c25619193854
parent26c0472cb07bc23e21fc8148565f7f2be746a8a0
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