[alsa-devel] [PATCH] ASoC: rt5616: add kcontrol for headphone channel switch

Mark Brown broonie at kernel.org
Mon Mar 7 03:45:03 CET 2016


On Mon, Mar 07, 2016 at 02:35:55AM +0000, John Lin wrote:

> > No, you should call it "Headphone Playback Switch".  Please see
> > ControlNames.txt for details.

> The schematic diagram of headphone is such as:

> DAC --> HP Vol --> HP Vol Mute --> HP MIX --> HP Mute

> The kcontrol named 'Headphone Playback Switch' was in use for 'HP Mute'.
> The missing kcontrol is 'HP Vol Mute' in schematic diagram.
> Could you give us advice in this case? Thank you very much.

My point is that you shouldn't have both Volume and Switch in the same
control name.  You could for example call them Headphone Switch and
Headphone Playback Switch.
-------------- 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/20160307/3fcabb3f/attachment.sig>


More information about the Alsa-devel mailing list