i2c: iproc: handle Master aborted error
authorRayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Mon, 2 Nov 2020 03:54:28 +0000 (09:24 +0530)
committerWolfram Sang <wsa@kernel.org>
Tue, 5 Jan 2021 16:15:08 +0000 (17:15 +0100)
commit1ca1b4516088c4e275e47efd3cb243023388753c
tree71f998d43bab47b58eee2cf44e1851744ac31192
parent9c975c432bc0aa53a90438fc80b369cb35134a48
i2c: iproc: handle Master aborted error

Handle Master aborted error by flushing tx and rx fifo
and reinitializing the hw.

Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-bcm-iproc.c