diff options
author | Mark Brown <broonie@kernel.org> | 2015-10-26 11:15:55 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-26 11:15:55 +0900 |
commit | 6439e5c2a784f6b00dd136df54d6f0859bc77af3 (patch) | |
tree | f9dee1f0bdcf07eb7ce86dfbf9f1a558bae62404 /sound/soc/soc-compress.c | |
parent | 7c9c29eefa8ba503a34bac4ca4fb27083b78b726 (diff) | |
parent | 6f0c42269f000b1e346c84d9a589f17aa94c96d8 (diff) | |
download | lwn-6439e5c2a784f6b00dd136df54d6f0859bc77af3.tar.gz lwn-6439e5c2a784f6b00dd136df54d6f0859bc77af3.zip |
Merge remote-tracking branch 'asoc/topic/core' into asoc-next
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 = { .get_codec_caps = soc_compr_get_codec_caps }; -/* create a new compress */ -int soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) +/** + * snd_soc_new_compress - create a new compress. + * + * @rtd: The runtime for which we will create compress + * @num: the device index number (zero based - shared with normal PCMs) + * + * Return: 0 for success, else error. + */ +int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) { struct snd_soc_codec *codec = rtd->codec; struct snd_soc_platform *platform = rtd->platform; @@ -703,3 +710,4 @@ compr_err: kfree(compr); return ret; } +EXPORT_SYMBOL_GPL(snd_soc_new_compress); |