From c1d0933c6adebd86e235363fa47cf281bc5253e3 Mon Sep 17 00:00:00 2001 From: Chris Van Hoof Date: Mon, 19 Dec 2011 15:51:17 -0500 Subject: [PATCH] adding experimental mic mute led definition --- drivers/platform/x86/thinkpad_acpi.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 7b82868..c8bbf91 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -5058,8 +5058,10 @@ static const char * const tpacpi_led_names[TPACPI_LED_NUMLEDS] = { "tpacpi::unknown_led2", "tpacpi::unknown_led3", "tpacpi::thinkvantage", + "tpacpi::unknown_led4", + "tpacpi::micmute", }; -#define TPACPI_SAFE_LEDS 0x1081U +#define TPACPI_SAFE_LEDS 0x5081U static inline bool tpacpi_is_led_restricted(const unsigned int led) { @@ -5281,7 +5283,7 @@ static const struct tpacpi_quirk led_useful_qtable[] __initconst = { { /* Lenovo */ .vendor = PCI_VENDOR_ID_LENOVO, .bios = TPACPI_MATCH_ANY, .ec = TPACPI_MATCH_ANY, - .quirks = 0x1fffU, + .quirks = 0x5fffU, }, { /* IBM ThinkPads with no EC version string */ .vendor = PCI_VENDOR_ID_IBM, -- 1.7.0.4