diff mbox series

ASoC: rt1019: Add non_legacy_dai_naming config

Message ID 20210503031732.22035-1-derek.fang@realtek.com
State Accepted
Commit b63ecaea97aac3020be0e5736253e88cefbc950b
Headers show
Series ASoC: rt1019: Add non_legacy_dai_naming config | expand

Commit Message

Derek [方德義] May 3, 2021, 3:17 a.m. UTC
From: Derek Fang <derek.fang@realtek.com>

Register the codec dai name as 'rt1019-aif' by adding
non_legacy_dai_naming configuration.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt1019.c b/sound/soc/codecs/rt1019.c
index 10656a5927f1..2687ae60fd36 100644
--- a/sound/soc/codecs/rt1019.c
+++ b/sound/soc/codecs/rt1019.c
@@ -522,6 +522,7 @@  static const struct snd_soc_component_driver soc_component_dev_rt1019 = {
 	.num_dapm_widgets	= ARRAY_SIZE(rt1019_dapm_widgets),
 	.dapm_routes		= rt1019_dapm_routes,
 	.num_dapm_routes	= ARRAY_SIZE(rt1019_dapm_routes),
+	.non_legacy_dai_naming	= 1,
 };
 
 static const struct regmap_config rt1019_regmap = {