]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: amd-asf: Clear remote IRR bit to get successive interrupt
authorShyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mon, 23 Sep 2024 08:04:00 +0000 (13:34 +0530)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 13 Nov 2024 22:29:46 +0000 (23:29 +0100)
commitb1f8921dfbaa6d3aaee0598b20043d28fac876a9
tree258513c745a7c7a70731a6eea2718ebc073cc9d9
parent9b25419ad397149e66e92ded58523e57f98eec2c
i2c: amd-asf: Clear remote IRR bit to get successive interrupt

To ensure successive interrupts upon packet reception, it is necessary to
clear the remote IRR bit by writing the interrupt number to the EOI
register. The base address for this operation is provided by the BIOS and
retrieved by the driver by traversing the ASF object's namespace.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
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>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-amd-asf-plat.c