diff options
Diffstat (limited to 'sound/soc/soc-compress.c')
-rw-r--r-- | sound/soc/soc-compress.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 025c38fbe3c0..12a9820feac1 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c | |||
@@ -612,8 +612,15 @@ static struct snd_compr_ops soc_compr_dyn_ops = { | |||
612 | .get_codec_caps = soc_compr_get_codec_caps | 612 | .get_codec_caps = soc_compr_get_codec_caps |
613 | }; | 613 | }; |
614 | 614 | ||
615 | /* create a new compress */ | 615 | /** |
616 | int soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) | 616 | * snd_soc_new_compress - create a new compress. |
617 | * | ||
618 | * @rtd: The runtime for which we will create compress | ||
619 | * @num: the device index number (zero based - shared with normal PCMs) | ||
620 | * | ||
621 | * Return: 0 for success, else error. | ||
622 | */ | ||
623 | int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) | ||
617 | { | 624 | { |
618 | struct snd_soc_codec *codec = rtd->codec; | 625 | struct snd_soc_codec *codec = rtd->codec; |
619 | struct snd_soc_platform *platform = rtd->platform; | 626 | struct snd_soc_platform *platform = rtd->platform; |
@@ -703,3 +710,4 @@ compr_err: | |||
703 | kfree(compr); | 710 | kfree(compr); |
704 | return ret; | 711 | return ret; |
705 | } | 712 | } |
713 | EXPORT_SYMBOL_GPL(snd_soc_new_compress); | ||