[alsa-devel] Need general idea how to architect driver for multi-codec board
Mark Brown
broonie at opensource.wolfsonmicro.com
Fri May 27 03:27:56 CEST 2011
On Thu, May 26, 2011 at 02:23:03PM -0700, Caleb Crome wrote:
> You previously indicated that I can instantiate multiple tlv320aic33
> drivers. Can you please give me a clue how to do that? I've been staring
> at this for days, and I still don't really get how it's supposed to be done.
With things like this it's always useful to look for other examples of
whatever it is you're doing - there's systems like speyside and rx51 in
mainline.
> fails because there are already controls with those names, like "Right PGA
> Mixer" etc. The alsa layer doesn't seem to allow multiple registrations of
> the same control. How do I give each instantiation a unique identifier?
Set up a snd_soc_codec_conf for each CODEC and assign a name_prefix to
it.
> Since the tlv320aic33 has about 80 controls, I'm going to end up with over
> 600 controls in alsamixer.
Yes.
More information about the Alsa-devel
mailing list