[COMMON] i2c: exynos5: Add checking Transfer done at ISR
authorKyungwoo Kang <kwoo.kang@samsung.com>
Tue, 9 Jan 2018 07:24:06 +0000 (16:24 +0900)
committermyung-su.cha <myung-su.cha@samsung.com>
Wed, 9 May 2018 12:14:45 +0000 (21:14 +0900)
commitf8d598778fb0a94fcb536323358fdbba8c5200ce
treee2104b903aa04bcada7d67461664a340e55d32ea
parent9dacbe7dd68ab963f73eb4d595dd8a2aecbb0794
[COMMON] i2c: exynos5: Add checking Transfer done at ISR

Previously when NACK occurred we just retry the protocol.
But it is possible to TR_DONE interrupt occur at the process
of NACK ISR. To prevent TR_DONE interrupt clear, we consider
TR_DONE at NACK ISR.

Change-Id: I3eb57019de66849e75c5f53dbfeb4d988c81bdc0
Signed-off-by: Kyungwoo Kang <kwoo.kang@samsung.com>
drivers/i2c/busses/i2c-exynos5.c