ASoC: simple-card-utils.c: ignore Codec2Codec setting if it already have
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 1 Jul 2022 05:18:40 +0000 (05:18 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2022 10:51:45 +0000 (11:51 +0100)
commit75d1b39067ed6699ec8a906fa9d83609bca9113b
tree6b62a78af2c9dd5175a7624055b1d32769c285d6
parentd33083f941150dc2079975d032547f6ce9a8e81b
ASoC: simple-card-utils.c: ignore Codec2Codec setting if it already have

Audio Graph Card2 setups own Codec2Codec settings,
but current simple-card-utils.c will try to setup Codec2Codec default
settings if needed, it will overwirtes the settings.
This patch ignores default Codec2Codec settings if it already have.

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