[PW_SID:1124548] i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED#2251
[PW_SID:1124548] i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED#2251linux-riscv-bot wants to merge 1 commit into
Conversation
When the interrupt status register reads zero (no interrupt pending from this device), the handler should return IRQ_NONE. Returning IRQ_HANDLED incorrectly claims the interrupt was serviced, which can prevent other devices sharing the same IRQ line from receiving their interrupts. Fix this by returning IRQ_NONE instead of IRQ_HANDLED when the status register is zero. Fixes: 5ea5584 ("i2c: spacemit: add support for SpacemiT K1 SoC") Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
|
Patch 1: "i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED" |
PR for series 1124548 applied to workflow__riscv__fixes
Name: i2c: spacemit: fix spurious IRQ handling returning IRQ_HANDLED
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1124548
Version: 1