Skip to contentSkip to conversation

ASoC: fixup simple-card probe order

PATCH In review Do Q.Thang 2 participants 3 messages Oct 1, 2012 – Oct 2, 2012

Subsystems (3)
lore
Share & tools
lore

Do Q.Thang

author
#0 lore raw

PATCH 1/1 ASoC: fixup simple-card probe order

Hi all,

KZM-A9-GT board and Armadillo-800eva board use the asoc-simple-card. but probe of this sound card needs the fsi-dai's registered before. So this message appear in the bootlog.

" asoc-simple-card asoc-simple-card.0: CPU DAI fsia-dai not registered platform asoc-simple-card.0: Driver asoc-simple-card requests probe deferral "

The asoc-simple-card was probed while fsi-dai probe hasn't run yet. So asoc-simple-card probe deferral is requested.
I think the simple-card should be probed after the fsi-dai probe. I think this patch can fix this issue.

What do you think about this?

Thanks in advance.

---
Thang

Quoted 1 line

From cfea76c9580a952fc299ade2c3b63c567b9b0cbe Mon Sep 17 00:00:00 2001

From: "Do Q.Thang" <[email protected]>
Date: Mon, 24 Sep 2012 18:00:48 +0900
Subject: [PATCH] ASoC: fixup simple-card probe order

simple-card should be probed after fsi-dai probe. This patch fix it.

---
 sound/soc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/Makefile +1 -1
index 00a555a..2fe1313 100644
@@ -6,7 +6,6 @@ obj-$(CONFIG_SND_SOC_DMAENGINE_PCM) += snd-soc-dmaengine-pcm.o
 
 obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
 obj-$(CONFIG_SND_SOC)	+= codecs/
-obj-$(CONFIG_SND_SOC)	+= generic/
 obj-$(CONFIG_SND_SOC)	+= atmel/
 obj-$(CONFIG_SND_SOC)	+= au1x/
 obj-$(CONFIG_SND_SOC)	+= blackfin/
@@ -24,6 +23,7 @@ obj-$(CONFIG_SND_SOC)	+= pxa/
 obj-$(CONFIG_SND_SOC)	+= samsung/
 obj-$(CONFIG_SND_SOC)	+= s6000/
 obj-$(CONFIG_SND_SOC)	+= sh/
+obj-$(CONFIG_SND_SOC)	+= generic/
 obj-$(CONFIG_SND_SOC)	+= tegra/
 obj-$(CONFIG_SND_SOC)	+= txx9/
 obj-$(CONFIG_SND_SOC)	+= ux500/
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 10 lines · Do Q.Thang

Hi all,

KZM-A9-GT board and Armadillo-800eva board use the asoc-simple-card. but probe of this sound card needs the fsi-dai's registered before. So this message appear in the bootlog.

" asoc-simple-card asoc-simple-card.0: CPU DAI fsia-dai not registered platform asoc-simple-card.0: Driver asoc-simple-card requests probe deferral "

Quoted 6 lines

The asoc-simple-card was probed while fsi-dai probe hasn't run yet. So asoc-simple-card probe deferral is requested.
I think the simple-card should be probed after the fsi-dai probe. I think this patch can fix this issue.

What do you think about this?

The above is normal and expected behaviour, there is no issue here.

author
#2 lore raw
Quoted 11 lines · Mark Brown
Quoted 10 lines · Do Q.Thang

Hi all,

KZM-A9-GT board and Armadillo-800eva board use the asoc-simple-card. but probe of this sound card needs the fsi-dai's registered before. So this message appear in the bootlog.

" asoc-simple-card asoc-simple-card.0: CPU DAI fsia-dai not registered platform asoc-simple-card.0: Driver asoc-simple-card requests probe deferral "

Quoted 8 lines
Quoted 6 lines

The asoc-simple-card was probed while fsi-dai probe hasn't run yet. So asoc-simple-card probe deferral is requested.
I think the simple-card should be probed after the fsi-dai probe. I think this patch can fix this issue.

What do you think about this?

The above is normal and expected behaviour, there is no issue here.

thanks.