ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Realtek codec
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 18 Nov 2013 10:51:47 +0000 (11:51 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Nov 2013 12:08:47 +0000 (13:08 +0100)
commit2793769f4450d9e4845257c953ae278ecdff7d94
treed1b37d68f5cd444aa33bfa1f421b439fdc71ebdb
parentabfe69dd2e313d0c8226ca4a12329e3d829cfd7c
ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Realtek codec

We're using the ACPI interface to detect whether we're dealing with a Thinkpad
or not. This way we're not loading the thinkpad_acpi module when we're not on
a Thinkpad, but at the same time, we give the opportunity to check for, and
potentially enable, both present and future Thinkpad with mute/micmute LEDs.

At least those running the ALC269 family (269 to 299) of Realtek codecs.

Cc: Alex Hung <alex.hung@canonical.com>
Tested-by: Hui Wang <hui.wang@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