Skip to content

Commit 8451a3c

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: amd: acp: don't set card long_name
UCM can load a board-specific file based on the card long_name. Remove the constant "AMD Soundwire SOF" long_name so that the ASoC core can set the long_name based on DMI information. Signed-off-by: Vijendar Mukunda <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2772ee6 commit 8451a3c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sound/soc/amd/acp/acp-sdw-sof-mach.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,6 @@ static int sof_card_dai_links_create(struct snd_soc_card *card)
400400
return ret;
401401
}
402402

403-
/* SoC card */
404-
static const char sdw_card_long_name[] = "AMD Soundwire SOF";
405-
406403
static int mc_probe(struct platform_device *pdev)
407404
{
408405
struct snd_soc_acpi_mach *mach = dev_get_platdata(&pdev->dev);
@@ -463,8 +460,6 @@ static int mc_probe(struct platform_device *pdev)
463460
if (!card->components)
464461
return -ENOMEM;
465462

466-
card->long_name = sdw_card_long_name;
467-
468463
/* Register the card */
469464
ret = devm_snd_soc_register_card(card->dev, card);
470465
if (ret) {

0 commit comments

Comments
 (0)