summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/shim.h
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2021-07-23 13:54:50 +0200
committerMark Brown <broonie@kernel.org>2021-08-02 16:45:40 +0200
commit198fa4bcf6a1e8685b43e37790d45f3ebcbc2784 (patch)
tree1dba614d637d3beb594bf5384e53fa9f89808c29 /sound/soc/sof/intel/shim.h
parentASoC: SOF: intel: move sof_intel_dsp_desc() forward (diff)
downloadlinux-198fa4bcf6a1e8685b43e37790d45f3ebcbc2784.tar.xz
linux-198fa4bcf6a1e8685b43e37790d45f3ebcbc2784.zip
ASoC: SOF: intel: add snd_sof_dsp_check_sdw_irq ops
SoundWire IRQ status checks are platform-dependent, add new ops structure to provide abstraction. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/20210723115451.7245-6-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/shim.h')
-rw-r--r--sound/soc/sof/intel/shim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/shim.h b/sound/soc/sof/intel/shim.h
index ee031248d834..e9f7d4d7fcce 100644
--- a/sound/soc/sof/intel/shim.h
+++ b/sound/soc/sof/intel/shim.h
@@ -166,6 +166,7 @@ struct sof_intel_dsp_desc {
int ssp_base_offset; /* base address of the SSPs */
u32 sdw_shim_base;
u32 sdw_alh_base;
+ bool (*check_sdw_irq)(struct snd_sof_dev *sdev);
};
extern const struct snd_sof_dsp_ops sof_tng_ops;