]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: amd-asf: Fix EOI register write to enable successive interrupts
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Wed, 19 Feb 2025 13:57:47 +0000 (19:27 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 26 Feb 2025 22:28:41 +0000 (23:28 +0100)
commit9f3c507cb44498067c980674139bcad56e582ee6
treeee2fcc430f484a2585a84e1cb493b3e604e81e04
parent71c49ee9bb41e1709abac7e2eb05f9193222e580
i2c: amd-asf: Fix EOI register write to enable successive interrupts

The commit b1f8921dfbaa
("i2c: amd-asf: Clear remote IRR bit to get successive interrupt")
introduced a method to enable successive interrupts but inadvertently
omitted the necessary write to the EOI register, resulting in a failure to
receive successive interrupts.

Fix this by adding the required write to the EOI register.

Fixes: b1f8921dfbaa ("i2c: amd-asf: Clear remote IRR bit to get successive interrupt")
Cc: stable@vger.kernel.org # v6.13+
Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Fixes: 9b25419ad397 ("i2c: amd-asf: Add routine to handle the ASF slave process")
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20250219135747.3251182-1-Shyam-sundar.S-k@amd.com
drivers/i2c/busses/i2c-amd-asf-plat.c