summaryrefslogtreecommitdiff
path: root/sound/soc/intel/avs/icl.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2024-04-19 11:48:56 +0300
committerMark Brown <broonie@kernel.org>2024-04-19 12:57:05 +0300
commit7ce6ceeb77bfd9fb0b22203190bd6f57fe917b51 (patch)
tree5b59a1e4092287e48892b0f68b3e9b3d76b7c616 /sound/soc/intel/avs/icl.c
parent9be51470d514eb20d4ce29684cf933ef1c5fff48 (diff)
downloadlinux-7ce6ceeb77bfd9fb0b22203190bd6f57fe917b51.tar.xz
ASoC: Intel: avs: New IRQ handling implementation
The existing code can be both improved and simplified. To make this change easier to manage, first add new implementation and then remove deadcode in a separate patch. Simplification achieved with: - reduce the amount of resources requested by the driver i.e.: IPC and CLDMA request_irq() merged into one - reduce the number of DSP ops from 2 to 1: irq_handler/thread() vs dsp_interrupt() - drop ambiguity around CLDMA interrupt, let skl.c handle that explicitly as it is the only user Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://lore.kernel.org/r/20240419084857.2719593-2-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/avs/icl.c')
-rw-r--r--sound/soc/intel/avs/icl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/avs/icl.c b/sound/soc/intel/avs/icl.c
index e8b4983e03e9..c18ea41d094b 100644
--- a/sound/soc/intel/avs/icl.c
+++ b/sound/soc/intel/avs/icl.c
@@ -188,6 +188,7 @@ const struct avs_dsp_ops avs_icl_dsp_ops = {
.power = avs_dsp_core_power,
.reset = avs_dsp_core_reset,
.stall = avs_dsp_core_stall,
+ .dsp_interrupt = avs_cnl_dsp_interrupt,
.irq_handler = avs_irq_handler,
.irq_thread = avs_cnl_irq_thread,
.int_control = avs_dsp_interrupt_control,