ASoC: soc-card: export snd_soc_lookup_component_nolocked
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 12 Jun 2020 07:37:48 +0000 (15:37 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2020 13:18:01 +0000 (14:18 +0100)
commit6fbea6b6a838f9aa941fe53a3637fd8d8aab1eba
tree616008da9b2903916247996231f1a4943def70ba
parent6476b60f32866be49d05e2e0163f337374c55b06
ASoC: soc-card: export snd_soc_lookup_component_nolocked

snd_soc_lookup_component_nolocked can be used for the DPCM case
that Front-End needs to get the unused platform component but
added by Back-End cpu dai driver.

If the component is gotten, then we can get the dma chan created
by Back-End component and reused it in Front-End.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Nicolin Chen <nicoleotsuka@gmail.com>
Link: https://lore.kernel.org/r/55f6e0d76f67a517b9a44136d790ff2a06b5caa8.1591947428.git.shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c