]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i3c: mipi-i3c-hci: Fix handling status of i3c_hci_irq_handler()
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 9 Apr 2025 14:03:58 +0000 (17:03 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 15 May 2025 09:41:13 +0000 (11:41 +0200)
commit279c24021b838e76ca8441e9446e0ab45271153a
tree6405f75548808eea8963c2e7127018efab422c47
parenteeeec6c5475e914157feab00bdcaed79132e47a2
i3c: mipi-i3c-hci: Fix handling status of i3c_hci_irq_handler()

Return IRQ_HANDLED from the i3c_hci_irq_handler() only if some
INTR_STATUS bit was set or if DMA/PIO handler handled it.

Currently it returns IRQ_HANDLED in case INTR_STATUS is zero and IO
handler returns false. Which could be the case if interrupt comes from
other device or is spurious.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Link: https://lore.kernel.org/r/20250409140401.299251-2-jarkko.nikula@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/i3c/master/mipi-i3c-hci/core.c