]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek: Enable HP amp and mute LED on HP Folio 9480m [v3]
authorKeith Packard <keithp@keithp.com>
Wed, 15 Jul 2015 19:14:39 +0000 (12:14 -0700)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Jul 2015 10:20:08 +0000 (12:20 +0200)
commit3d9b5ceef30bc03e8f8c165f406d8590270cf1e9
tree95eb0e597209d7763d90a339f91e5f5a1b4d1cda
parentf09701f78185b757faab3284eadc0519b58836f2
ALSA: hda/realtek: Enable HP amp and mute LED on HP Folio 9480m [v3]

This laptop needs GPIO4 pulled high to enable the headphone amplifier,
and has a mute LED on GPIO3. I modelled the patch on the existing
GPIO4 code which pulls the line low for the same purpose; this time,
the HP amp line is pulled high.

v2: Disable the headphone amplifier when no headphone is connected.
    Don't disable power savings to preserve the LED state.

v3: Remove headset-specific hooks and code; this is just a headphone.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c