]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
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

index 8353c77536ac51c0e9ed13ff6fb94732c9e80469..b8fb0a5adb9b54a67c687d5da6b142a917bcb261 100644 (file)
@@ -2531,7 +2531,7 @@ static int vmaster_mute_mode_info(struct snd_kcontrol *kcontrol,
                                  struct snd_ctl_elem_info *uinfo)
 {
        static const char * const texts[] = {
-               "Off", "On", "Follow Master"
+               "On", "Off", "Follow Master"
        };
        unsigned int index;