ASoC: add Component level pcm_new/pcm_free v2
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 26 Sep 2017 01:00:53 +0000 (01:00 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 27 Sep 2017 17:11:12 +0000 (10:11 -0700)
commitf523acebbb74f3cf5840d801f2e4856c688bf14a
tree903b1daa75d4f8939f636febf577d669f3d53420
parent3b1b3a7ba5536b4247024a5f00950d0932edf691
ASoC: add Component level pcm_new/pcm_free v2

In current ALSA SoC, Platform only has pcm_new/pcm_free feature,
but it should be supported on Component level. This patch adds it.

The v1 was added commit 99b04f4c4051f7 ("ASoC: add Component level
pcm_new/pcm_free") but it called all "card" connected component's
pcm_new/free, it was wrong.
This patch calls "rtd" connected component.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-core.c
sound/soc/soc-pcm.c