From: Derek Fang Date: Mon, 3 May 2021 03:17:32 +0000 (+0800) Subject: ASoC: rt1019: Add non_legacy_dai_naming config X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b63ecaea97aac3020be0e5736253e88cefbc950b;p=uclinux-h8%2Flinux.git ASoC: rt1019: Add non_legacy_dai_naming config Register the codec dai name as 'rt1019-aif' by adding non_legacy_dai_naming configuration. Signed-off-by: Derek Fang Link: https://lore.kernel.org/r/20210503031732.22035-1-derek.fang@realtek.com Signed-off-by: Mark Brown --- 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 = {