summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt1019.c
diff options
context:
space:
mode:
authorDerek Fang <derek.fang@realtek.com>2021-05-03 06:17:32 +0300
committerMark Brown <broonie@kernel.org>2021-05-10 19:06:11 +0300
commitb63ecaea97aac3020be0e5736253e88cefbc950b (patch)
tree35bd9129811874ac7118b565ef220ee465674127 /sound/soc/codecs/rt1019.c
parent66df9477bd35dd851e9803e5fdbbf40ee4598af5 (diff)
downloadlinux-b63ecaea97aac3020be0e5736253e88cefbc950b.tar.xz
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 <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>
Diffstat (limited to 'sound/soc/codecs/rt1019.c')
-rw-r--r--sound/soc/codecs/rt1019.c1
1 files changed, 1 insertions, 0 deletions
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 = {