[alsa-devel] [RFC 0/4] Add support for DAI link addition dynamically

Mark Brown broonie at kernel.org
Thu Feb 18 14:39:10 CET 2016


On Thu, Feb 18, 2016 at 01:27:26PM +0530, Vaibhav Agarwal wrote:

> Yes, I agree machine driver is the real owner of soc card & should
> decide/choose on possible capabilities of codec. Also, codec may wish
> to choose from different soc cards registered based on the
> functionality supported. Say, performance mode using I2S interface,
> otherwise feature mode (supporting multichannel, etc.) using PCM
> interface or may be via USB interface.

No, the driver should offer whatever the hardware is capable of doing
and let userspace make any policy decisions.

> In case we are using generic codec driver (existing in
> sound/soc/codecs), it would need a helper driver to glue it to soc
> card dynamically. Otherwise, for a specific platform, we can have a
> wrapper codec driver that can fetch capabilities of removable codec
> (may be via binary data) and expose them to already known soc cards
> for that device.

It sounds like there might be some review concerns with some of this
stuff...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20160218/b9611fbf/attachment.sig>


More information about the Alsa-devel mailing list