ASoC: soc-pcm: merge DPCM and non-DPCM validation check
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Sun, 20 Oct 2024 23:59:49 +0000 (23:59 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Oct 2024 12:02:05 +0000 (13:02 +0100)
commita6ff8572fd3fafe3f0f39e94ad8d4b6c88de7e03
tree22df88562d2ab8c989ea17d30a680695d2c87a1d
parent0e3dc8e4bd4a739401ada1541452fe1499254680
ASoC: soc-pcm: merge DPCM and non-DPCM validation check

DPCM and non-DPCM validation check are very similar. The big difference
is that DPCM doesn't check Codec validation. This is historical reason.
It should be checked, but it breaks existing driver/behavior.

Anyway, if we uses dummy DAI as Codec when DPCM case, there is no
difference between DPCM and non-DPCM. Let's merge these.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/8734kq9vgq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c