summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/compress.c
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2020-02-18 15:39:24 +0100
committerMark Brown <broonie@kernel.org>2020-02-18 22:52:11 +0100
commit70368106467cd8c420176bf3ab0acc797f6584bf (patch)
tree8abe5d0f19ca4f24a95313261a79b92dee273f56 /sound/soc/sof/compress.c
parentASoC: SOF: Provide probe debugfs support (diff)
downloadlinux-70368106467cd8c420176bf3ab0acc797f6584bf.tar.xz
linux-70368106467cd8c420176bf3ab0acc797f6584bf.zip
ASoC: SOF: Intel: Add Probe compress CPU DAIs
Declare extraction CPU DAI as well as sof_probe_compr_ops. FE DAIs can link against these new CPU DAI to create new compress devices. Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200218143924.10565-10-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/compress.c')
-rw-r--r--sound/soc/sof/compress.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/sof/compress.c b/sound/soc/sof/compress.c
index e87cc81a0599..7354dc6a49cf 100644
--- a/sound/soc/sof/compress.c
+++ b/sound/soc/sof/compress.c
@@ -13,6 +13,11 @@
#include "ops.h"
#include "probe.h"
+struct snd_compr_ops sof_probe_compressed_ops = {
+ .copy = sof_probe_compr_copy,
+};
+EXPORT_SYMBOL(sof_probe_compressed_ops);
+
int sof_probe_compr_open(struct snd_compr_stream *cstream,
struct snd_soc_dai *dai)
{