[PATCH] ALSA: pcm: Export soc_dpcm_runtime_update
From: Tony Lindgren
Date: Sun Jul 09 2017 - 00:43:46 EST
Some drivers may need to use this from loadable modules. Otherwise we
will get:
ERROR: "soc_dpcm_runtime_update" [sound/soc/codecs/snd-soc-cpcap.ko]
undefined!
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
---
sound/soc/soc-pcm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -2539,6 +2539,8 @@ int soc_dpcm_runtime_update(struct snd_soc_card *card)
mutex_unlock(&card->mutex);
return 0;
}
+EXPORT_SYMBOL_GPL(soc_dpcm_runtime_update);
+
int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute)
{
struct snd_soc_dpcm *dpcm;
--
2.13.2