diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-11-13 13:15:20 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-18 18:00:07 +0000 |
commit | a4e427c59a266dc3eb0eb5d52879b067a6f6e73b (patch) | |
tree | 94e93b140c6ae312b956b7b6937d2a6ce0327aba /include | |
parent | 5268e0bf7123c422892fec362f5be2bcae9bbb95 (diff) | |
download | linux-a4e427c59a266dc3eb0eb5d52879b067a6f6e73b.tar.bz2 |
ASoC: soc-component: add snd_soc_component_compr_open()
component related function should be implemented at
soc-component.c.
This patch moves soc-compress soc_compr_components_open()
to soc-component as snd_soc_component_compr_open().
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/87ft5d7v7x.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-component.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 21f1d120b68e..0d79a0b30aba 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -444,6 +444,8 @@ int snd_soc_component_of_xlate_dai_id(struct snd_soc_component *component, int snd_soc_component_of_xlate_dai_name(struct snd_soc_component *component, struct of_phandle_args *args, const char **dai_name); +int snd_soc_component_compr_open(struct snd_compr_stream *cstream, + struct snd_soc_component **last); int snd_soc_pcm_component_pointer(struct snd_pcm_substream *substream); int snd_soc_pcm_component_ioctl(struct snd_pcm_substream *substream, |