ALSA: hda - Use the common helper for thinkpad_acpi mic mute LED handling
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Jun 2018 15:28:45 +0000 (17:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 21 Jun 2018 11:52:24 +0000 (13:52 +0200)
commit69b2c6d7c0204e68185b694f9cfcb8f2636fed5d
treec2eeafa6614b4ef43a128b0ad519e9ace9ec5ccd
parentf567b78851d49a4887b9bb1a8b3cfad37da515c8
ALSA: hda - Use the common helper for thinkpad_acpi mic mute LED handling

Use the new common helper for setting up and controlling the mic mute
LED over thinkpad_acpi.  This also provides a new mixer enum "Mic
Mute-LED Mode" (that was present only for Dell models), which allows
user to choose the mic mute LED behavior.  For example, if you want
the mic mute LED turned on only while mic is on, choose "Follow
Capture" there.

Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/thinkpad_helper.c