From: Liam Girdwood <lrg@ti.com>
To: "Le Gall, Louis" <louis.le.gall@intel.com>
Cc: "Koul, Vinod" <vinod.koul@intel.com>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
"Gaffie, FrancoisX" <francoisx.gaffie@intel.com>,
"Bensaid, Selma" <selma.bensaid@intel.com>
Subject: Re: Multiple asoc cards issue?
Date: Fri, 19 Aug 2011 17:52:58 +0100 [thread overview]
Message-ID: <4E4E94EA.9020003@ti.com> (raw)
In-Reply-To: <7756B9A8AF32424A91D917E64BD63F68011D4F@IRSMSX101.ger.corp.intel.com>
On 19/08/11 17:34, Le Gall, Louis wrote:
> Hello
>
> We are trying to add a new ASOC card in our build that already contains an ASOC card.
>
> We facing some issue when the second card is registered (calling snd_soc_register_card () ).
>
> We can see in the log when playing a sound on the first card that second card operations are called.
>
> In fact, the registration of second card overwrites the operations of the structure soc_pcm_ops of the first card (with the second card operations).
> Looking at the soc-core.c code, this structure is static so that explains the overwrite.
>
> How can we register several ASOC cards on our platform in that case? Is it a bug or a limitation?
What kernel version are you using here. This shouldn't be an issue with recent kernels.
Liam
>
> Thanks,
> Louis
>
> First card = First card registered during boot process
> Second card = second card that is registred during the boot process.
>
>
> ---------------------------------------------------------------------
> Intel Corporation SAS (French simplified joint stock company)
> Registered headquarters: "Les Montalets"- 2, rue de Paris,
> 92196 Meudon Cedex, France
> Registration Number: 302 456 199 R.C.S. NANTERRE
> Capital: 4,572,000 Euros
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2011-08-19 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-19 16:34 Multiple asoc cards issue? Le Gall, Louis
2011-08-19 16:52 ` Liam Girdwood [this message]
2011-08-19 17:06 ` Le Gall, Louis
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=4E4E94EA.9020003@ti.com \
--to=lrg@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=francoisx.gaffie@intel.com \
--cc=louis.le.gall@intel.com \
--cc=selma.bensaid@intel.com \
--cc=vinod.koul@intel.com \
/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 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.