ALSA: hda - Make sure mute LEDs stay on during runtime suspend (Realtek)
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 6 Nov 2013 09:50:44 +0000 (10:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Nov 2013 19:11:46 +0000 (11:11 -0800)
commitca4c12c0cf1d0efb5e7ffecf31cb17f95e1e77df
tree40daf0b651748e77c7f337a2a59773ff852146e0
parent0009160a1b27a03d11ba007c542474aaba0b5380
ALSA: hda - Make sure mute LEDs stay on during runtime suspend (Realtek)

commit d5b6b65e75ce607c2734227524e11574317a1c1a upstream.

Some HP machines with Realtek codecs have mute LEDs connected to VREF pins.
However when these go into runtime suspend, the pin powers down and its
pin control is disabled, thus disabling the LED too.

This patch fixes that issue by making sure that the pin stays in D0 with
correct pin control.

BugLink: https://bugs.launchpad.net/bugs/1248465
Tested-by: Franz Hsieh <franz.hsieh@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c