Commit 5610b90e authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: cml_rt1011_rt5682: fix codec_conf by removing legacy style

Now that the legacy style is removed, we have to use the new macros
for the codec configuration. This change was missed in the initial
series.
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fixes: ee8f537f ("ASoC: soc-core: remove legacy style of codec_conf")
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Acked-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/20191217165649.12091-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4137f4b6
...@@ -406,19 +406,19 @@ static struct snd_soc_dai_link cml_rt1011_rt5682_dailink[] = { ...@@ -406,19 +406,19 @@ static struct snd_soc_dai_link cml_rt1011_rt5682_dailink[] = {
static struct snd_soc_codec_conf rt1011_conf[] = { static struct snd_soc_codec_conf rt1011_conf[] = {
{ {
.dev_name = "i2c-10EC1011:00", .dlc = COMP_CODEC_CONF("i2c-10EC1011:00"),
.name_prefix = "WL", .name_prefix = "WL",
}, },
{ {
.dev_name = "i2c-10EC1011:01", .dlc = COMP_CODEC_CONF("i2c-10EC1011:01"),
.name_prefix = "WR", .name_prefix = "WR",
}, },
{ {
.dev_name = "i2c-10EC1011:02", .dlc = COMP_CODEC_CONF("i2c-10EC1011:02"),
.name_prefix = "TL", .name_prefix = "TL",
}, },
{ {
.dev_name = "i2c-10EC1011:03", .dlc = COMP_CODEC_CONF("i2c-10EC1011:03"),
.name_prefix = "TR", .name_prefix = "TR",
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment