Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Do Q.Thang" <dq-thang@jinso.co.jp>
To: alsa-devel@alsa-project.org, linux-sh@vger.kernel.org
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Simon Horman <horms@verge.net.au>
Subject: [PATCH] ASoC: fixup simple-card probe order
Date: Mon, 01 Oct 2012 09:44:37 +0900	[thread overview]
Message-ID: <5068E775.7040601@jinso.co.jp> (raw)

[-- 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


             reply	other threads:[~2012-10-01  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-01  0:44 Do Q.Thang [this message]
2012-10-01 10:01 ` [PATCH] ASoC: fixup simple-card probe order Mark Brown
2012-10-02  3:41   ` Do Q.Thang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5068E775.7040601@jinso.co.jp \
    --to=dq-thang@jinso.co.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=horms@verge.net.au \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox