All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: fixup simple-card probe order
@ 2012-10-01  0:44 ` Do Q.Thang
  0 siblings, 0 replies; 6+ messages in thread
From: Do Q.Thang @ 2012-10-01  0:44 UTC (permalink / raw)
  To: alsa-devel, linux-sh; +Cc: Mark Brown, Simon Horman

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

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

[-- Attachment #2: ASoC-fixup-simple-card-probe-order.patch --]
[-- Type: text/x-patch, Size: 1123 bytes --]

From cfea76c9580a952fc299ade2c3b63c567b9b0cbe Mon Sep 17 00:00:00 2001
From: "Do Q.Thang" <dq-thang@jinso.co.jp>
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.

Signed-off-by: Do Q.Thang <dq-thang@jinso.co.jp>
---
 sound/soc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/Makefile b/sound/soc/Makefile
index 00a555a..2fe1313 100644
--- a/sound/soc/Makefile
+++ b/sound/soc/Makefile
@@ -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/
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ASoC: fixup simple-card probe order
@ 2012-10-01  0:44 ` Do Q.Thang
  0 siblings, 0 replies; 6+ messages in thread
From: Do Q.Thang @ 2012-10-01  0:44 UTC (permalink / raw)
  To: alsa-devel, linux-sh; +Cc: Mark Brown, Simon Horman

[-- Attachment #1: Type: text/plain, Size: 622 bytes --]

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

[-- Attachment #2: ASoC-fixup-simple-card-probe-order.patch --]
[-- Type: text/x-patch, Size: 1124 bytes --]

>From cfea76c9580a952fc299ade2c3b63c567b9b0cbe Mon Sep 17 00:00:00 2001
From: "Do Q.Thang" <dq-thang@jinso.co.jp>
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.

Signed-off-by: Do Q.Thang <dq-thang@jinso.co.jp>
---
 sound/soc/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/Makefile b/sound/soc/Makefile
index 00a555a..2fe1313 100644
--- a/sound/soc/Makefile
+++ b/sound/soc/Makefile
@@ -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/
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: fixup simple-card probe order
  2012-10-01  0:44 ` Do Q.Thang
@ 2012-10-01 10:01   ` Mark Brown
  -1 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2012-10-01 10:01 UTC (permalink / raw)
  To: Do Q.Thang; +Cc: alsa-devel, linux-sh, Simon Horman

On Mon, Oct 01, 2012 at 09:44:37AM +0900, Do Q.Thang wrote:
> 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?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: fixup simple-card probe order
@ 2012-10-01 10:01   ` Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2012-10-01 10:01 UTC (permalink / raw)
  To: Do Q.Thang; +Cc: alsa-devel, linux-sh, Simon Horman

On Mon, Oct 01, 2012 at 09:44:37AM +0900, Do Q.Thang wrote:
> 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?

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: fixup simple-card probe order
  2012-10-01 10:01   ` Mark Brown
@ 2012-10-02  3:41     ` Do Q.Thang
  -1 siblings, 0 replies; 6+ messages in thread
From: Do Q.Thang @ 2012-10-02  3:41 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, linux-sh, Simon Horman

On 10/01/2012 07:01 PM, Mark Brown wrote:
> On Mon, Oct 01, 2012 at 09:44:37AM +0900, Do Q.Thang wrote:
>> 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?
> The above is normal and expected behaviour, there is no issue here.
>

thanks.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ASoC: fixup simple-card probe order
@ 2012-10-02  3:41     ` Do Q.Thang
  0 siblings, 0 replies; 6+ messages in thread
From: Do Q.Thang @ 2012-10-02  3:41 UTC (permalink / raw)
  To: Mark Brown; +Cc: alsa-devel, linux-sh, Simon Horman

On 10/01/2012 07:01 PM, Mark Brown wrote:
> On Mon, Oct 01, 2012 at 09:44:37AM +0900, Do Q.Thang wrote:
>> 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?
> The above is normal and expected behaviour, there is no issue here.
>

thanks.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-10-02  3:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-01  0:44 [PATCH] ASoC: fixup simple-card probe order Do Q.Thang
2012-10-01  0:44 ` Do Q.Thang
2012-10-01 10:01 ` Mark Brown
2012-10-01 10:01   ` Mark Brown
2012-10-02  3:41   ` Do Q.Thang
2012-10-02  3:41     ` Do Q.Thang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.