ALSA: hda - add a new condition to check if it is thinkpad
authorHui Wang <hui.wang@canonical.com>
Thu, 10 Nov 2016 05:20:05 +0000 (13:20 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 23 Feb 2017 03:54:31 +0000 (03:54 +0000)
commitcdcd7162f822a7629a79e11c8490fbeb322bd30e
tree3fb16f6a0a51dd4db12f9f78de06204839d21f13
parentf60c9f651a505df9d132e2ac61af229506eac2d5
ALSA: hda - add a new condition to check if it is thinkpad

commit 2ecb704a1290edb5e3d53a75529192e7ed2a1a28 upstream.

Latest Thinkpad laptops use the HKEY_HID LEN0268 instead of the
LEN0068, as a result neither audio mute led nor mic mute led can work
any more.

After adding the new HKEY_HID into the is_thinkpad(), both of them
works well as before.

Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
[bwh: Backported to 3.16: use acpi_get_devices() instead of acpi_dev_found()]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/pci/hda/thinkpad_helper.c