diff options
author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2022-06-23 13:51:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-27 13:16:36 +0100 |
commit | 8135d0290a9a1f1f752bb374f93a017b2074d09b (patch) | |
tree | 32794793738b198ef5cd2e8c81445fb86f267025 /sound/soc/qcom/lpass-cpu.c | |
parent | e740ef3d9418db78ac7a8a24071933f9146af6e4 (diff) | |
download | linux-stable-8135d0290a9a1f1f752bb374f93a017b2074d09b.tar.gz linux-stable-8135d0290a9a1f1f752bb374f93a017b2074d09b.tar.bz2 linux-stable-8135d0290a9a1f1f752bb374f93a017b2074d09b.zip |
ASoC: qcom: Migrate to new style legacy DAI naming flag
Change the legacy DAI naming flag from opting in to the new scheme
(non_legacy_dai_naming), to opting out of it (legacy_dai_naming).
These drivers appear to be on the CPU side of the DAI link and
currently uses the legacy naming, so add the new flag.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220623125250.2355471-25-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/lpass-cpu.c')
-rw-r--r-- | sound/soc/qcom/lpass-cpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c index e6846ad2b5fa..6f1cd3800001 100644 --- a/sound/soc/qcom/lpass-cpu.c +++ b/sound/soc/qcom/lpass-cpu.c @@ -472,6 +472,7 @@ static int asoc_qcom_of_xlate_dai_name(struct snd_soc_component *component, static const struct snd_soc_component_driver lpass_cpu_comp_driver = { .name = "lpass-cpu", .of_xlate_dai_name = asoc_qcom_of_xlate_dai_name, + .legacy_dai_naming = 1, }; static bool lpass_cpu_regmap_writeable(struct device *dev, unsigned int reg) |