]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - Enable micmute LED on and HP system
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 30 Apr 2020 08:32:52 +0000 (16:32 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Apr 2020 17:20:04 +0000 (19:20 +0200)
commit42ea72281086c5acb1753d92cc489e3eb3fe4aa9
tree4469630cda7b264b5c7db7967f741d2c3bcd373c
parent39e16c6875cd97d78d02bf4621ebc730fe3940b2
ALSA: hda/realtek - Enable micmute LED on and HP system

Though the system uses DMIC, headset mic still uses the HDA, let's use
GPIO 0x1 to control the micmute LED.

The micmute LED GPIO has a different polarity to the mute LED GPIO, we
can use the newly added micmute_led_polarity to indicate that.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20200430083255.5093-2-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c