All of lore.kernel.org
 help / color / mirror / Atom feed
* Connecting two Codecs to the same CPU DAI
@ 2013-07-16 14:31 Daniel Mack
  2013-07-16 16:20 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Mack @ 2013-07-16 14:31 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: ALSA development

Hi Mark, Liam,

I'm trying to find a sane solution for systems that have multiple Codecs
connected to the same CPU DAI. An example would be a codec that receives
the same I2S stream as a S/PDIF transceiver, and which is in fact
connected to the very same bus in hardware.

Currently, I'm setting up two DAI links in such cases, and userspace has
to open both subdevices and issue hw_params calls to each of them in
order to set up the hardware correctly.

This is cumbersome of course, and I wonder how the core could be
augmented in order to handle such cases correctly. Ideally, it should
only expose one PCM interface and handle a list of Codecs in the back.

Or am I unaware of an existing feature?


Thanks,
Daniel

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

end of thread, other threads:[~2013-07-17  9:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-16 14:31 Connecting two Codecs to the same CPU DAI Daniel Mack
2013-07-16 16:20 ` Mark Brown
2013-07-16 16:33   ` Daniel Mack
2013-07-16 16:57     ` Mark Brown
2013-07-16 17:07       ` Daniel Mack
2013-07-16 17:47         ` Mark Brown
2013-07-17  9:16           ` Daniel Mack
2013-07-17  9:31             ` Mark Brown

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.