Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753453Ab3FGIWc (ORCPT ); Fri, 7 Jun 2013 04:22:32 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:59533 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753296Ab3FGIWY (ORCPT ); Fri, 7 Jun 2013 04:22:24 -0400 From: Adam Lee To: linux-kernel@vger.kernel.org Cc: platform-driver-x86@vger.kernel.org, ibm-acpi-devel@lists.sourceforge.net, Matthew Garrett , Henrique de Moraes Holschuh , Alex Hung , Bjorn Mork Subject: [PATCH 0/3] thinkpad_acpi: avoid ACPI Warning while operating non-exist LEDs Date: Fri, 7 Jun 2013 16:20:06 +0800 Message-Id: <1370593209-21358-1-git-send-email-adam.lee@canonical.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 23 Some new Lenovo or ThinkPad laptops don't have EC controllable LEDs, they control LEDs by BIOS functions, and return ACPI Warning while operating LEDs by EC. These patches set some quirks, optimize led_init() and led_write() to avoid that warning. Adam Lee (3): thinkpad_acpi: return -NODEV while operating uninitialized LEDs thinkpad_acpi: add the ability setting TPACPI_LED_NONE by quirk thinkpad_acpi: add LED quirks of models which don't have EC controllable LEDs drivers/platform/x86/thinkpad_acpi.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/