Skip to content
Commit 52f7f210 authored by Roman Bacik's avatar Roman Bacik Committed by Greg Kroah-Hartman
Browse files

i2c: iproc: handle invalid slave state



[ Upstream commit ba15a143 ]

Add the code to handle an invalid state when both bits S_RX_EVENT
(indicating a transaction) and S_START_BUSY (indicating the end
of transaction - transition of START_BUSY from 1 to 0) are set in
the interrupt status register during a slave read.

Signed-off-by: default avatarRoman Bacik <roman.bacik@broadcom.com>
Fixes: 1ca1b451 ("i2c: iproc: handle Master aborted error")
Acked-by: default avatarRay Jui <ray.jui@broadcom.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f706e2c9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment