kernel_samsung_a53x/sound/soc/fsl
Shengjiu Wang 1362a8732b ASoC: fsl_micfil: register platform component before registering cpu dai
[ Upstream commit 0adf292069dcca8bab76a603251fcaabf77468ca ]

There is no defer probe when adding platform component to
snd_soc_pcm_runtime(rtd), the code is in snd_soc_add_pcm_runtime()

snd_soc_register_card()
  -> snd_soc_bind_card()
    -> snd_soc_add_pcm_runtime()
      -> adding cpu dai
      -> adding codec dai
      -> adding platform component.

So if the platform component is not ready at that time, then the
sound card still registered successfully, but platform component
is empty, the sound card can't be used.

As there is defer probe checking for cpu dai component, then register
platform component before cpu dai to avoid such issue.

Fixes: 47a70e6fc9a8 ("ASoC: Add MICFIL SoC Digital Audio Interface driver.")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1630665006-31437-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 22:25:34 +01:00
..
efika-audio-fabric.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eukrea-tlv320.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl-asoc-card.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_asrc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_asrc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_asrc_common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_asrc_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_audmix.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_audmix.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_dma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_easrc.c ASoC: fsl: Fix PM disable depth imbalance in fsl_easrc_probe 2024-11-18 11:43:03 +01:00
fsl_easrc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_esai.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_esai.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_micfil.c ASoC: fsl_micfil: register platform component before registering cpu dai 2024-11-18 22:25:34 +01:00
fsl_micfil.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_mqs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_sai.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_sai.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_spdif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_spdif.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_ssi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_ssi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_ssi_dbg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_utils.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsl_utils.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-audmix.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-audmux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-audmux.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-es8328.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-mc13783.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-pcm-dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-pcm-fiq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-pcm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-sgtl5000.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-spdif.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-ssi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx-ssi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc5200_dma.c ASoC: fsl: mpc5200_dma.c: Fix warning of Function parameter or member not described 2024-11-18 11:43:03 +01:00
mpc5200_dma.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc5200_psc_ac97.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc5200_psc_i2s.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpc8610_hpcd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mx27vis-aic32x4.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
p1022_ds.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
p1022_rdk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcm030-audio-fabric.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phycore-ac97.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wm1133-ev1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00