Skip to content

Commit 9f3c507

Browse files
Shyam Sundar S KAndi Shyti
authored andcommitted
i2c: amd-asf: Fix EOI register write to enable successive interrupts
The commit b1f8921 ("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: b1f8921 ("i2c: amd-asf: Clear remote IRR bit to get successive interrupt") Cc: [email protected] # v6.13+ Co-developed-by: Sanket Goswami <[email protected]> Signed-off-by: Sanket Goswami <[email protected]> Signed-off-by: Shyam Sundar S K <[email protected]> Fixes: 9b25419 ("i2c: amd-asf: Add routine to handle the ASF slave process") Signed-off-by: Andi Shyti <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 71c49ee commit 9f3c507

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i2c/busses/i2c-amd-asf-plat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ static irqreturn_t amd_asf_irq_handler(int irq, void *ptr)
293293
amd_asf_update_ioport_target(piix4_smba, ASF_SLV_INTR, SMBHSTSTS, true);
294294
}
295295

296+
iowrite32(irq, dev->eoi_base);
296297
return IRQ_HANDLED;
297298
}
298299

0 commit comments

Comments
 (0)