[PATCH 05/10] ASoC: SOF: Intel: Add a new op for disabling interrupts
Ranjani Sridharan
ranjani.sridharan at linux.intel.com
Thu Sep 22 23:36:39 CEST 2022
The sequence for disabling DSP interrupts varies between different IP
versions.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao at linux.intel.com>
Reviewed-by: Rander Wang <rander.wang at intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
---
sound/soc/sof/intel/shim.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/sof/intel/shim.h b/sound/soc/sof/intel/shim.h
index c7b4b1e0a824..3ceba5c39317 100644
--- a/sound/soc/sof/intel/shim.h
+++ b/sound/soc/sof/intel/shim.h
@@ -187,6 +187,7 @@ struct sof_intel_dsp_desc {
bool (*check_sdw_irq)(struct snd_sof_dev *sdev);
bool (*check_ipc_irq)(struct snd_sof_dev *sdev);
int (*power_down_dsp)(struct snd_sof_dev *sdev);
+ int (*disable_interrupts)(struct snd_sof_dev *sdev);
int (*cl_init)(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot);
};
--
2.25.1
More information about the Alsa-devel
mailing list