i2c: iproc: handle invalid slave state
stable inclusion from stable-v6.6.2 commit b925c9de46870853476456140cf2314c7fbcb667 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8IW7G Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b925c9de46870853476456140cf2314c7fbcb667 -------------------------------- [ Upstream commit ba15a14399c262f91ce30c19fcbdc952262dd1be ] 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:Roman Bacik <roman.bacik@broadcom.com> Fixes: 1ca1b451 ("i2c: iproc: handle Master aborted error") Acked-by:
Ray Jui <ray.jui@broadcom.com> Signed-off-by:
Wolfram Sang <wsa@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment