i2c: omap: Fix standard mode false ACK readings
stable inclusion from stable-v5.10.180 commit db8b34ffb29bde098cdac8b1da0d6fb47ac7add7 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8DDFN Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=db8b34ffb29bde098cdac8b1da0d6fb47ac7add7 -------------------------------- commit c770657b upstream. Using standard mode, rare false ACK responses were appearing with i2cdetect tool. This was happening due to NACK interrupt triggering ISR thread before register access interrupt was ready. Removing the NACK interrupt's ability to trigger ISR thread lets register access ready interrupt do this instead. Cc: <stable@vger.kernel.org> # v3.7+ Fixes: 3b2f8f82 ("i2c: omap: switch to threaded IRQ support") Signed-off-by:Reid Tonking <reidt@ti.com> Acked-by:
Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by:
Tony Lindgren <tony@atomide.com> Signed-off-by:
Wolfram Sang <wsa@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment