summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2013-07-03 16:15:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2013-07-03 16:15:38 +0200
commit77d997190ac89b08cb9ef45cf4e86efd5cacc072 (patch)
tree567b70968c8e5ea046ed8a6db444f2fb4f482801
parentLinux 3.10 now has this. (diff)
downloadw530-kernel-patches-77d997190ac89b08cb9ef45cf4e86efd5cacc072.tar.xz
w530-kernel-patches-77d997190ac89b08cb9ef45cf4e86efd5cacc072.zip
We need to actually add kernel support for that LED in the first place.
-rw-r--r--enable-micmute-led.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/enable-micmute-led.patch b/enable-micmute-led.patch
new file mode 100644
index 0000000..b5190fe
--- /dev/null
+++ b/enable-micmute-led.patch
@@ -0,0 +1,23 @@
+--- a/drivers/platform/x86/thinkpad_acpi.c 2013-07-03 16:12:50.866635663 +0200
++++ b/drivers/platform/x86/thinkpad_acpi.c 2013-07-03 16:13:56.458632739 +0200
+@@ -5050,8 +5050,10 @@
+ "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)
+ {
+@@ -5274,7 +5276,7 @@
+ { /* 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,