]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Switch "On" and "Off" for "Mute-LED Mode" kcontrol
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 3 Jan 2013 13:12:29 +0000 (14:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 3 Jan 2013 13:22:34 +0000 (14:22 +0100)
commitf13d969ca07bb8a113c6de50a0213466a154664c
tree63d5d05641f39f389459ca51eeb1a3e514b56386
parenta2e69c3c0f994da1cd5fbfdb8a9cfdb38b9f1ed5
ALSA: hda - Switch "On" and "Off" for "Mute-LED Mode" kcontrol

The vmaster hook sends 1 for enabled/unmuted and 0 for disabled/muted,
but "Mute-LED Mode" being "On" refers to the LED being on, not the
volume being on.
Therefore "On" and "Off" should be switched.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c