summaryrefslogtreecommitdiff
path: root/sound/soc/soc-dai.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2021-01-22 04:13:43 +0300
committerMark Brown <broonie@kernel.org>2021-02-03 20:41:41 +0300
commit2b39123b134e10a3817156bd9b157c9b8f950d6f (patch)
tree0cf23831e2beab0fd32d8e755ca22bc330ddf957 /sound/soc/soc-dai.c
parent7fc6bebd5831a788a74e019e39c43c014a96a110 (diff)
downloadlinux-2b39123b134e10a3817156bd9b157c9b8f950d6f.tar.xz
ASoC: soc-pcm: add soc_create_pcm() and simplify soc_new_pcm()
soc_new_pcm() implementation is very long / verbose / complex, thus, it is very difficult to read. If we read it carefully, we can notice that it is consisted by int soc_new_pcm(...) { (1) judging playback/caputre part (2) creating the PCM part (3) setup pcm/rtd part } This patch adds new soc_create_pcm() for (2) part and offload it from snd_pcm_new(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/875z3paigi.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-dai.c')
0 files changed, 0 insertions, 0 deletions