ASoC: amd: ps: fix for irq handler return status
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Wed, 30 Apr 2025 19:54:43 +0000 (01:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 30 Apr 2025 23:22:36 +0000 (08:22 +0900)
commit7f91f012c1df07af6b915d1f8cece202774bb50e
treedaedadf5a3dc09d72c3e84085719b65691899683
parent3cc393d2232ec770b5f79bf0673d67702a3536c3
ASoC: amd: ps: fix for irq handler return status

If any Soundwire manager interrupt is reported, and wake interrupt
is not reported, in this scenario irq_flag will be set to zero,
which results in interrupt handler return status as IRQ_NONE.

Add new irq flag 'wake_irq_flag' check for SoundWire wake interrupt
handling to fix incorrect irq handling return status.

Fixes: 3898b189079c8 ("ASoC: amd: ps: add soundwire wake interrupt handling")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20250430195517.3065308-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/pci-ps.c