ASoC: SOF: amd: fix for false dsp interrupts
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Thu, 4 Apr 2024 04:17:13 +0000 (09:47 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2024 11:59:29 +0000 (12:59 +0100)
commitb9846a386734e73a1414950ebfd50f04919f5e24
tree00032c2943544c0bbae89c263a6143fe407f0d8f
parent3f5eb32513e75eb321919a703800d4e13e9d3ba8
ASoC: SOF: amd: fix for false dsp interrupts

Before ACP firmware loading, DSP interrupts are not expected.
Sometimes after reboot, it's observed that before ACP firmware is loaded
false DSP interrupt is reported.
Registering the interrupt handler before acp initialization causing false
interrupts sometimes on reboot as ACP reset is not applied.
Correct the sequence by invoking acp initialization sequence prior to
registering interrupt handler.

Fixes: 738a2b5e2cc9 ("ASoC: SOF: amd: Add IPC support for ACP IP block")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://msgid.link/r/20240404041717.430545-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp.c