]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: fsl_asrc_dma: Add legacy_dai_naming flag
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 4 Jul 2022 01:50:17 +0000 (09:50 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jul 2022 11:44:20 +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: 1e63fcc74ace ("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-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc_dma.c

index 33eabb96340eb095692d31c3dfdc4882519596c7..12ddf2320f2db6de1fd4edfd0ada335d3445dcc3 100644 (file)
@@ -455,5 +455,6 @@ struct snd_soc_component_driver fsl_asrc_component = {
        .close          = fsl_asrc_dma_shutdown,
        .pointer        = fsl_asrc_dma_pcm_pointer,
        .pcm_construct  = fsl_asrc_dma_pcm_new,
+       .legacy_dai_naming = 1,
 };
 EXPORT_SYMBOL_GPL(fsl_asrc_component);