Skip to content

Commit 7112550

Browse files
ajitkupandeybroonie
authored andcommitted
ASoC: amd: acp: acp-mach: Change default RT1019 amp dev id
RT1019 components was initially registered with i2c1 and i2c2 but now changed to i2c0 and i2c1 in most of our AMD platforms. Change default rt1019 components to 10EC1019:00 and 10EC1019:01 which is aligned with most of AMD machines. Any exception to rt1019 device ids in near future board design can be handled using dmi based quirk for that machine. Signed-off-by: Ajit Kumar Pandey <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 00ac838 commit 7112550

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sound/soc/amd/acp/acp-mach-common.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ static const struct snd_soc_ops acp_card_rt5682s_ops = {
293293

294294
/* Declare RT1019 codec components */
295295
SND_SOC_DAILINK_DEF(rt1019,
296-
DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC1019:01", "rt1019-aif"),
297-
COMP_CODEC("i2c-10EC1019:02", "rt1019-aif")));
296+
DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC1019:00", "rt1019-aif"),
297+
COMP_CODEC("i2c-10EC1019:01", "rt1019-aif")));
298298

299299
static const struct snd_soc_dapm_route rt1019_map_lr[] = {
300300
{ "Left Spk", NULL, "Left SPO" },
@@ -303,11 +303,11 @@ static const struct snd_soc_dapm_route rt1019_map_lr[] = {
303303

304304
static struct snd_soc_codec_conf rt1019_conf[] = {
305305
{
306-
.dlc = COMP_CODEC_CONF("i2c-10EC1019:01"),
306+
.dlc = COMP_CODEC_CONF("i2c-10EC1019:00"),
307307
.name_prefix = "Left",
308308
},
309309
{
310-
.dlc = COMP_CODEC_CONF("i2c-10EC1019:02"),
310+
.dlc = COMP_CODEC_CONF("i2c-10EC1019:01"),
311311
.name_prefix = "Right",
312312
},
313313
};

0 commit comments

Comments
 (0)