Skip to content

Commit

Permalink
ASoC: amd: acp: Change card name for Guybrush Machine
Browse files Browse the repository at this point in the history
Change sound card name for guybrush machine with rt5682 as primary
codec and rt1019 amp to align with names given in UCM config.

Signed-off-by: Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>
Link: https://lore.kernel.org/r/20220222124213.721224-2-AjitKumar.Pandey@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Ajit Kumar Pandey authored and Mark Brown committed Feb 24, 2022
1 parent 76cdd90 commit abdcf72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sound/soc/amd/acp/acp-legacy-mach.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static int acp_asoc_probe(struct platform_device *pdev)

static const struct platform_device_id board_ids[] = {
{
.name = "rn_rt5682_rt1019",
.name = "acp3xalc56821019",
.driver_data = (kernel_ulong_t)&rt5682_rt1019_data,
},
{ }
Expand All @@ -113,5 +113,5 @@ module_platform_driver(acp_asoc_audio);

MODULE_IMPORT_NS(SND_SOC_AMD_MACH);
MODULE_DESCRIPTION("ACP chrome audio support");
MODULE_ALIAS("platform:rn_rt5682_rt1019");
MODULE_ALIAS("platform:acp3xalc56821019");
MODULE_LICENSE("GPL v2");
2 changes: 1 addition & 1 deletion sound/soc/amd/acp/acp-renoir.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static struct snd_soc_acpi_codecs amp_rt1019 = {
static struct snd_soc_acpi_mach snd_soc_acpi_amd_acp_machines[] = {
{
.id = "10EC5682",
.drv_name = "rn_rt5682_rt1019",
.drv_name = "acp3xalc56821019",
.machine_quirk = snd_soc_acpi_codec_list,
.quirk_data = &amp_rt1019,
},
Expand Down

0 comments on commit abdcf72

Please sign in to comment.