]> Pileus Git - ~andy/linux/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)
commitc86c2d440c4faff9d0761bc5f34cc428a5ccf7d4
tree63d5d05641f39f389459ca51eeb1a3e514b56386
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
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