diff options
| author | Praveen Talari <praveen.talari@oss.qualcomm.com> | 2026-03-13 21:49:01 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-17 17:07:47 +0000 |
| commit | 8c89a077ca796a2fe248c584e9d7e66cff0388c8 (patch) | |
| tree | a74a8aa909d24c1cbe1e03a2409f2578ced21fa4 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git | |
| parent | dee0774bbb2abb172e9069ce5ffef579b12b3ae9 (diff) | |
spi: geni-qcom: Check DMA interrupts early in ISR
The current interrupt handler only checks the GENI main IRQ status
(m_irq) before deciding to return IRQ_NONE. This can lead to spurious
IRQ_NONE returns when DMA interrupts are pending but m_irq is zero.
Move the DMA TX/RX status register reads to the beginning of the ISR,
right after reading m_irq. Update the early return condition to check
all three status registers (m_irq, dma_tx_status, dma_rx_status) before
returning IRQ_NONE.
Signed-off-by: Praveen Talari <praveen.talari@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260313-spi-geni-qcom-fix-dma-irq-handling-v1-1-0bd122589e02@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
