Patch "ALSA: hda - Fix inverted LED gpio setup for Lenovo Ideapad" has been added to the 3.16-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ALSA: hda - Fix inverted LED gpio setup for Lenovo Ideapad

to the 3.16-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     alsa-hda-fix-inverted-led-gpio-setup-for-lenovo-ideapad.patch
and it can be found in the queue-3.16 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From b1974f965a506c131b60cd3e483340884e831920 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@xxxxxxx>
Date: Mon, 20 Oct 2014 11:26:57 +0200
Subject: ALSA: hda - Fix inverted LED gpio setup for Lenovo Ideapad

From: Takashi Iwai <tiwai@xxxxxxx>

commit b1974f965a506c131b60cd3e483340884e831920 upstream.

We implemented in a wrong way for mute LED on Lenovo Ideapad; the bit
must be flipped.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=16373
Fixes: 3e887f379d8a ('ALSA: hda - Add mute LED support to Lenovo Ideapad')
Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 sound/pci/hda/patch_realtek.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5578,9 +5578,9 @@ static void alc662_led_gpio1_mute_hook(v
 	unsigned int oldval = spec->gpio_led;
 
 	if (enabled)
-		spec->gpio_led &= ~0x01;
-	else
 		spec->gpio_led |= 0x01;
+	else
+		spec->gpio_led &= ~0x01;
 	if (spec->gpio_led != oldval)
 		snd_hda_codec_write(codec, 0x01, 0, AC_VERB_SET_GPIO_DATA,
 				    spec->gpio_led);


Patches currently in stable-queue which might be from tiwai@xxxxxxx are

queue-3.16/alsa-bebob-fix-failure-to-detect-source-of-clock-for-terratec-phase-88.patch
queue-3.16/alsa-pcm-use-the-same-dma-mmap-codepath-both-for-arm-and-arm64.patch
queue-3.16/alsa-usb-audio-add-support-for-steinberg-ur22-usb-interface.patch
queue-3.16/alsa-hda-add-missing-terminating-entry-to-snd_hda_pin_quirk-macro.patch
queue-3.16/alsa-hda-fix-inverted-led-gpio-setup-for-lenovo-ideapad.patch
queue-3.16/alsa-emu10k1-fix-deadlock-in-synth-voice-lookup.patch
queue-3.16/alsa-hda-hdmi-fix-missing-eld-change-event-on-plug-unplug.patch
queue-3.16/alsa-alc283-codec-avoid-pop-noise-on-headphones-during-suspend-resume.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]