Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs.
This patch adds their quirks.

Signed-off-by: Adam Lee <adam....@canonical.com>
---
 drivers/platform/x86/thinkpad_acpi.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/platform/x86/thinkpad_acpi.c 
b/drivers/platform/x86/thinkpad_acpi.c
index 2fb1f1c..4cc7d73 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -5268,6 +5268,12 @@ static const struct tpacpi_quirk led_useful_qtable[] 
__initconst = {
        TPACPI_Q_IBM('7', 'F', 0x1f97), /* Z61* (1) */
        TPACPI_Q_IBM('7', 'B', 0x1fb7), /* X60 (1) */
 
+       /* Models don't have EC controllable LEDs */
+       TPACPI_Q_LNV('G', 'D', 0), /* ThinkPad Twist */
+       TPACPI_Q_LNV('H', '0', 0), /* ThinkPad E430 */
+       TPACPI_Q_LNV('H', 'C', 0), /* Lenovo E49L */
+       TPACPI_Q_LNV('H', 'D', 0), /* Lenovo K4350 */
+
        /* (1) - may have excess leds enabled on MSB */
 
        /* Defaults (order matters, keep last, don't reorder!) */
-- 
1.7.10.4


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
ibm-acpi-devel mailing list
ibm-acpi-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to