summaryrefslogtreecommitdiffstats
path: root/sound/mips
diff options
context:
space:
mode:
authorKailang <kailang@realtek.com>2015-12-28 11:35:24 +0800
committerTakashi Iwai <tiwai@suse.de>2015-12-29 10:03:27 +0100
commit3694cb2947db50753caf432db067487eafae7b9b (patch)
tree93079de07d5d8c5acb8a7fb47c043bd54767a6ec /sound/mips
parent0fb0b822d157325b66c503d23332f64899bfb828 (diff)
downloadlinux-3694cb2947db50753caf432db067487eafae7b9b.tar.bz2
ALSA: hda - Add mic mute hotkey quirk for Lenovo ThinkCentre AIO
The Lenovo ThinkCenter AIO uses Line2 (NID 0x1b) to implement the micmute hotkey, here we register an input device and use Line2 unsol event to collect the hotkey pressing or releasing. In the meanwhile, the micmute led is controlled by GPIO2, so we use an existing function alc_fixup_gpio_mic_mute_hook() to control the led. [Hui: And there are two places to register the input device, to make the code simple and clean, move the two same code sections into a function.] Cc: <stable@vger.kernel.org> Signed-off-by: Kailang <kailang@realtek.com> Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions