]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: exynos5: fix arbitration lost handling
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 22 Feb 2017 11:04:34 +0000 (12:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Feb 2017 12:01:22 +0000 (13:01 +0100)
commit4d94560d43a5f48110288627210e5e41a69d9936
tree0a5e7525ac2dc8de763b273c8940918cac241f93
parenta65beeef1cf3a5bd4195847f254e54c8f5eee73b
i2c: exynos5: fix arbitration lost handling

In case of arbitration lost adequate interrupt sometimes is not signaled.
As a result transfer timeouts and is not retried, as it should. To avoid
such cases code is added to check transaction status in case of every
interrupt.

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