]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: audio-graph-card: don't select DPCM via audio-graph-card
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 4 Apr 2019 00:52:15 +0000 (09:52 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2019 07:58:31 +0000 (14:58 +0700)
commit7de3c1fd5ce928ac9115eeff72c35d670b26d4ca
treee406472f2dd6df4f7f0cbb4f162bbf85f27a41e5
parent8045bfd824ee039404ca395dbd18155105f6c8ea
ASoC: audio-graph-card: don't select DPCM via audio-graph-card

commit 1a621652dd3f5 ("ASoC: audio-graph-card: merge
audio-graph-scu-card") merged audio-graph-scu-card which can
handle DPCM into audio-graph-card.

By this patch, the judgement to select "normal sound card" or
"DPCM sound card" is based on its OF-graph endpoint connection.
But, because of it, existing "audio-graph-card" user who is
assuming "normal sound card" might select DPCM unintentionally.

To solve this issue, this patch allows "audio-graph-card" user
can select "normal sound card", and "audio-graph-scu-card" user
can select both "normal sound card" and "DPCM sound card".
This keeps compatibility collectry.

Fixes: 1a621652dd3f5 ("ASoC: audio-graph-card: merge audio-graph-scu-card")
Reported-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-card.c