[alsa-devel] Multiple codecs on the same DAI

Mark Brown broonie at kernel.org
Fri Nov 24 19:04:56 CET 2017


On Fri, Nov 24, 2017 at 03:21:24PM +0100, Ricard Wanderlof wrote:

> In a sense, what I'd want would be to bring in the S/PDIF receiver as a 
> codec driver, but separate from the ordinary chain of sound drivers 
> (codec, platform, etc). I suppose one way would be to somehow (via 
> platform data or DT) pass a reference to the S/PDIF receiver to the 
> machine driver, which would then somehow convert this to a snd_soc_codec 
> *, and then have it explicitly call the the snd_soc_codec_driver.probe 
> function set up by the S/PDIF receiver driver to initialize it much the 
> way ALSA would have done if it had been part of a dai_link for card. 

You can just register any CODEC device as an aux_dev, that seems to be
exactly what you're looking for.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171124/667ed980/attachment.sig>


More information about the Alsa-devel mailing list