]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: fsl_micfil: Add legacy_dai_naming flag
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 4 Jul 2022 01:50:16 +0000 (09:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 11:44:19 +0000 (12:44 +0100)
Need to add legacy_dai_naming flag otherwise there
will be issue when registerring component, that cause
the probe failure.

Fixes: 619eebd76fa0 ("ASoC: fsl: Migrate to new style legacy DAI naming flag")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1656899417-4775-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c

index 53e105a93d758e4545c910abb0477c6ab66c49f7..be9781ad884938e383de6febca692f86b57ba40a 100644 (file)
@@ -367,7 +367,7 @@ static const struct snd_soc_component_driver fsl_micfil_component = {
        .name           = "fsl-micfil-dai",
        .controls       = fsl_micfil_snd_controls,
        .num_controls   = ARRAY_SIZE(fsl_micfil_snd_controls),
-
+       .legacy_dai_naming      = 1,
 };
 
 /* REGMAP */