[alsa-devel] [PATCH 4/5] ASoC: dapm: Add support for autodisable mux controls

Mark Brown broonie at kernel.org
Thu Apr 30 17:58:58 CEST 2015


On Thu, Apr 30, 2015 at 05:39:50PM +0200, Lars-Peter Clausen wrote:

> Hm, right. What I had in mind is to not export the off state to userland,
> but I guess it makes sense to make it possible to select it explicitly since
> it is consistent with the auto-disable switches.

It's not just consistent, you need to be able to do that so that you can
set something to a known unused input when it's not in use, otherwise
you need to worry about making sure that you don't end up causing audio
to flow through the mux unintentionally when you go into some other use
case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20150430/9e0afa3a/attachment.sig>


More information about the Alsa-devel mailing list