summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8985.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-09-10 15:46:13 +0100
committerMark Brown <broonie@kernel.org>2021-09-10 15:46:13 +0100
commit7bd5d979dfdb6c047499a5ac91339bf42f7bdee3 (patch)
tree3a9a666bc3cff0b692720ca13b43ccda1a97141d /sound/soc/codecs/wm8985.c
parent1dd038522615b70f5f8945c5631e9e2fa5bd58b1 (diff)
parentc590fa80b39287a91abeb487829f3190e7ae775f (diff)
downloadlinux-7bd5d979dfdb6c047499a5ac91339bf42f7bdee3.tar.bz2
Merge series "ASoC: fsl: register platform component before registering cpu dai" from Shengjiu Wang <shengjiu.wang@nxp.com>:
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. This patch set is to fix this issue for SAI, ESAI, MICFIL, SPDIF, XCVR drivers. Shengjiu Wang (5): ASoC: fsl_sai: register platform component before registering cpu dai ASoC: fsl_esai: register platform component before registering cpu dai ASoC: fsl_micfil: register platform component before registering cpu dai ASoC: fsl_spdif: register platform component before registering cpu dai ASoC: fsl_xcvr: register platform component before registering cpu dai sound/soc/fsl/fsl_esai.c | 16 ++++++++++------ sound/soc/fsl/fsl_micfil.c | 15 ++++++++++----- sound/soc/fsl/fsl_sai.c | 14 +++++++++----- sound/soc/fsl/fsl_spdif.c | 14 +++++++++----- sound/soc/fsl/fsl_xcvr.c | 15 ++++++++++----- 5 files changed, 48 insertions(+), 26 deletions(-) -- 2.17.1
Diffstat (limited to 'sound/soc/codecs/wm8985.c')
0 files changed, 0 insertions, 0 deletions