]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Enable mic mute hotkey and LEDs for an HP machine
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 7 Jan 2015 14:50:13 +0000 (15:50 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jan 2015 14:57:38 +0000 (15:57 +0100)
commit01dbb220fc715aca34ca1958e7eee7ba84a24ab5
tree8a3bf87571de7166a11d6f2bc96fff6d5cc895d8
parent0a3b50c007751b75ee8324f2461a06c93a1e1121
ALSA: hda - Enable mic mute hotkey and LEDs for an HP machine

On this machine, the mic mute hotkey is connected to GPIO2. We therefore
create an extra input device for this key.

Also enable LEDs connected to GPIO3 and GPIO4.

(Note: if this patch is backported to older kernels, where KEY_MIC_MUTE is
not available, change the KEY_MIC_MUTE to KEY_F20, which was previously used
for mic mute keys.)

BugLink: https://bugs.launchpad.net/bugs/1408295
Tested-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c