diff options
author | Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> | 2020-03-12 10:52:14 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-03-12 13:30:38 +0000 |
commit | f17a14789e55f45514d1d72a4e51dcc6bdd8d463 (patch) | |
tree | 3610a9706bc1ff2b628db616b59d5c694ebb2c05 /include/sound | |
parent | 8cce6569e417f557781fe7f3a84667e611c3a160 (diff) | |
download | linux-f17a14789e55f45514d1d72a4e51dcc6bdd8d463.tar.gz linux-f17a14789e55f45514d1d72a4e51dcc6bdd8d463.tar.bz2 linux-f17a14789e55f45514d1d72a4e51dcc6bdd8d463.zip |
ASoC: export DPCM runtime update functions
This makes DPCM runtime update functions available for external
calling. As an example, virtualised ASoC component drivers may need
to call these when managing shared DAPM routes that are used by more
than one driver (i.e. when host driver and guest drivers have a DAPM
path from guest PCM to host DAI where some parts are owned by host
driver and others by guest driver).
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200312095214.15126-3-guennadi.liakhovetski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dpcm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc-dpcm.h b/include/sound/soc-dpcm.h index 40223577ec4a..0f6c50b17bba 100644 --- a/include/sound/soc-dpcm.h +++ b/include/sound/soc-dpcm.h @@ -132,8 +132,8 @@ int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, struct snd_pcm_substream * snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream); -/* internal use only */ -int soc_dpcm_runtime_update(struct snd_soc_card *); +/* update audio routing between PCMs and any DAI links */ +int snd_soc_dpcm_runtime_update(struct snd_soc_card *card); #ifdef CONFIG_DEBUG_FS void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd); |