summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2013-01-03 14:12:29 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-03 14:22:34 +0100
commitc86c2d440c4faff9d0761bc5f34cc428a5ccf7d4 (patch)
tree63d5d05641f39f389459ca51eeb1a3e514b56386 /sound
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadlinux-3.10-c86c2d440c4faff9d0761bc5f34cc428a5ccf7d4.tar.gz
linux-3.10-c86c2d440c4faff9d0761bc5f34cc428a5ccf7d4.tar.bz2
linux-3.10-c86c2d440c4faff9d0761bc5f34cc428a5ccf7d4.zip
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 8353c77536a..b8fb0a5adb9 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -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;