Unverified Commit e8ee449b authored by chunxu.li's avatar chunxu.li Committed by Mark Brown
Browse files

ASoC: mediatek: mt8186: rename sound card name



The field 'topology_shortname' in 'snd_soc_card' is defined as char[32],
Current card name will be truncated when SOF is enabled, so rename the
sound card name.

Signed-off-by: default avatarchunxu.li <chunxu.li@mediatek.com>
Link: https://lore.kernel.org/r/20220823090735.12176-1-chunxu.li@mediatek.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 94f07274
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -962,7 +962,7 @@ mt8186_mt6366_da7219_max98357_controls[] = {
};

static struct snd_soc_card mt8186_mt6366_da7219_max98357_soc_card = {
	.name = "mt8186_mt6366_da7219_max98357",
	.name = "mt8186_da7219_max98357",
	.owner = THIS_MODULE,
	.dai_link = mt8186_mt6366_da7219_max98357_dai_links,
	.num_links = ARRAY_SIZE(mt8186_mt6366_da7219_max98357_dai_links),
+1 −1
Original line number Diff line number Diff line
@@ -938,7 +938,7 @@ mt8186_mt6366_rt1019_rt5682s_controls[] = {
};

static struct snd_soc_card mt8186_mt6366_rt1019_rt5682s_soc_card = {
	.name = "mt8186_mt6366_rt1019_rt5682s",
	.name = "mt8186_rt1019_rt5682s",
	.owner = THIS_MODULE,
	.dai_link = mt8186_mt6366_rt1019_rt5682s_dai_links,
	.num_links = ARRAY_SIZE(mt8186_mt6366_rt1019_rt5682s_dai_links),