Commit 248be352 authored by Ajit Kumar Pandey's avatar Ajit Kumar Pandey Committed by Mark Brown

ASoC: amd: acp-mach: Fix Left and Right rt1019 amp devices

We're setting wrong card codec conf for rt1019 amp devices in our
machine driver. Due to this left and right amp channels data are
reversed in our machines as wrong device prefix results in wrong
value for "Mono LR Select" rt1019 mixer control. Reverse dev ids
in codec conf with Left and Right name_prefix to fix such issue.
Signed-off-by: default avatarAjit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220120133605.476138-1-AjitKumar.Pandey@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 579b2c8f
...@@ -303,11 +303,11 @@ static const struct snd_soc_dapm_route rt1019_map_lr[] = { ...@@ -303,11 +303,11 @@ static const struct snd_soc_dapm_route rt1019_map_lr[] = {
static struct snd_soc_codec_conf rt1019_conf[] = { static struct snd_soc_codec_conf rt1019_conf[] = {
{ {
.dlc = COMP_CODEC_CONF("i2c-10EC1019:00"), .dlc = COMP_CODEC_CONF("i2c-10EC1019:01"),
.name_prefix = "Left", .name_prefix = "Left",
}, },
{ {
.dlc = COMP_CODEC_CONF("i2c-10EC1019:01"), .dlc = COMP_CODEC_CONF("i2c-10EC1019:00"),
.name_prefix = "Right", .name_prefix = "Right",
}, },
}; };
......
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