]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: simple-card-utils.c: care Codec2Codec vs DPCM:BE
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 1 Jul 2022 05:18:51 +0000 (05:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2022 10:51:46 +0000 (11:51 +0100)
commit6b1abfb1bc6affe71723aea7c5f2b82b8a066e0d
tree8126fbe1a7ff2122126ec20a4385bc8f4cfe336e
parent6919526a2a32aef8facde668deae106b09e51ec2
ASoC: simple-card-utils.c: care Codec2Codec vs DPCM:BE

Current asoc_simple_init_for_codec2codec() adds default Codec2Codec
settings if rtd was Codec only.
But DPCM:BE also judged as Codec only, because dummy-DAI doesn't have
"endianness" (which is key parameter to judge as Codec).

This patch ignores setup Codec2Codec settings if it was DPCM:BE case.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87a69ts950.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c