summaryrefslogtreecommitdiff
path: root/sound/soc/sof/sof-priv.h
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2022-02-23 18:38:49 +0300
committerMark Brown <broonie@kernel.org>2022-02-24 05:04:39 +0300
commit76cdd90b27b4e7379ce4d9032dda1927ac69ad01 (patch)
tree62a116057fd70d5e4c618881a1b24ff489b0ff60 /sound/soc/sof/sof-priv.h
parentb83eb8be4f2ca9d6beb1a8b66f666ef7039b7a64 (diff)
downloadlinux-76cdd90b27b4e7379ce4d9032dda1927ac69ad01.tar.xz
ASoC: SOF: pcm: Add compress_ops for SOF platform component driver
Now that sof_compressed_ops initial implementation was merged we can enable it in SOF platform component driver. This partially reverts commit 8a720724589e ("ASoC: SOF: pcm: Remove non existent CONFIG_SND_SOC_SOF_COMPRESS reference") Reported-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com> Link: https://lore.kernel.org/r/20220223153849.84471-1-daniel.baluta@oss.nxp.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r--sound/soc/sof/sof-priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h
index 2c8e556cd5cc..886787a9997f 100644
--- a/sound/soc/sof/sof-priv.h
+++ b/sound/soc/sof/sof-priv.h
@@ -557,6 +557,11 @@ int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev,
const char *name, enum sof_debugfs_access_type access_type);
/*
+ * Platform specific ops.
+ */
+extern struct snd_compress_ops sof_compressed_ops;
+
+/*
* DSP Architectures.
*/
static inline void sof_stack(struct snd_sof_dev *sdev, const char *level,