summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2024-09-16 11:43:18 +0530
committerMark Brown <broonie@kernel.org>2024-09-18 10:55:01 +0200
commit8451a3c7879d8883fd3fbd9dd7cbe7ecc31e89ce (patch)
tree5a05ab984f39f50914d6c290b79b22f3ff63c67a /sound/soc
parent2772ee6de6cf94e5f2a0c0ce6067d0796a4170ba (diff)
downloadlwn-8451a3c7879d8883fd3fbd9dd7cbe7ecc31e89ce.tar.gz
lwn-8451a3c7879d8883fd3fbd9dd7cbe7ecc31e89ce.zip
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 <Vijendar.Mukunda@amd.com> Link: https://patch.msgid.link/20240916061318.3147988-1-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/amd/acp/acp-sdw-sof-mach.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/amd/acp/acp-sdw-sof-mach.c b/sound/soc/amd/acp/acp-sdw-sof-mach.c
index 6c50c8276538..306854fb08e3 100644
--- a/sound/soc/amd/acp/acp-sdw-sof-mach.c
+++ b/sound/soc/amd/acp/acp-sdw-sof-mach.c
@@ -400,9 +400,6 @@ err_dai:
return ret;
}
-/* SoC card */
-static const char sdw_card_long_name[] = "AMD Soundwire SOF";
-
static int mc_probe(struct platform_device *pdev)
{
struct snd_soc_acpi_mach *mach = dev_get_platdata(&pdev->dev);
@@ -463,8 +460,6 @@ static int mc_probe(struct platform_device *pdev)
if (!card->components)
return -ENOMEM;
- card->long_name = sdw_card_long_name;
-
/* Register the card */
ret = devm_snd_soc_register_card(card->dev, card);
if (ret) {