ASoC: rt1019: Add non_legacy_dai_naming config
authorDerek Fang <derek.fang@realtek.com>
Mon, 3 May 2021 03:17:32 +0000 (11:17 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 10 May 2021 16:06:11 +0000 (17:06 +0100)
Register the codec dai name as 'rt1019-aif' by adding
non_legacy_dai_naming configuration.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20210503031732.22035-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1019.c

index 10656a5..2687ae6 100644 (file)
@@ -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 = {