]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 20:54:28 +0000 (21:54 +0100)
commit4d3ea4e1c3841e88704958ee2600adb39f30fbcd
tree0763c04f4208dd1b25586dc5dbd8a40a43e7f4b5
parent5cd5f0bb0d9c32876b3d86b70fb45da10d028be7
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