Skip to content

Commit 2086b55

Browse files
plbossartbroonie
authored andcommitted
ASoC: Intel: sof-sdw: don't set card long_name
UCM can load a board-specific file based on the card long_name. Remove the constant "Intel Soundwire SOF" long_name so that the ASoC core can set the long_name based on DMI information. Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 38068d9 commit 2086b55

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1879,9 +1879,6 @@ static int sof_sdw_card_late_probe(struct snd_soc_card *card)
18791879
return ret;
18801880
}
18811881

1882-
/* SoC card */
1883-
static const char sdw_card_long_name[] = "Intel Soundwire SOF";
1884-
18851882
/* helper to get the link that the codec DAI is used */
18861883
static struct snd_soc_dai_link *mc_find_codec_dai_used(struct snd_soc_card *card,
18871884
const char *dai_name)
@@ -1999,8 +1996,6 @@ static int mc_probe(struct platform_device *pdev)
19991996
return -ENOMEM;
20001997
}
20011998

2002-
card->long_name = sdw_card_long_name;
2003-
20041999
/* Register the card */
20052000
ret = devm_snd_soc_register_card(card->dev, card);
20062001
if (ret) {

0 commit comments

Comments
 (0)