i2c: exynos5: change internal transmission timeout to 100ms
authorAndrzej Hajda <a.hajda@samsung.com>
Thu, 30 Nov 2017 14:30:05 +0000 (15:30 +0100)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:21 +0000 (14:56 +0900)
commitfb8a00d3033bd01020c917b085c5d9b7303510ec
tree81ad2889c8bbfdb28cf2ff9428033985e16479f2
parent81244cbf1d156686faf637d9848b317841d04d61
i2c: exynos5: change internal transmission timeout to 100ms

Exynos-I2C uses default timeout of 1 second for the whole transaction,
including re-transmissions due to arbitration lost errors (-EAGAIN).
To allow re-transmissions driver's internal timeout should be significantly
lower, 100ms seems to be good candidate.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c