All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] TPACPI: Make W510 microphone LED working
@ 2012-04-08  3:07 Marek Vasut
  2012-04-09 14:15 ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 3+ messages in thread
From: Marek Vasut @ 2012-04-08  3:07 UTC (permalink / raw)
  To: ibm-acpi-devel; +Cc: ibm-acpi, platform-driver-x86, Marek Vasut

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
---
 drivers/platform/x86/thinkpad_acpi.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index d68c000..9cd366a 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -5055,8 +5055,10 @@ static const char * const tpacpi_led_names[TPACPI_LED_NUMLEDS] = {
 	"tpacpi::unknown_led2",
 	"tpacpi::unknown_led3",
 	"tpacpi::thinkvantage",
+	"tpacpi::unknown_led4",
+	"tpacpi::microphone",
 };
-#define TPACPI_SAFE_LEDS	0x1081U
+#define TPACPI_SAFE_LEDS	0x5081U
 
 static inline bool tpacpi_is_led_restricted(const unsigned int led)
 {
@@ -5274,6 +5276,8 @@ static const struct tpacpi_quirk led_useful_qtable[] __initconst = {
 
 	/* (1) - may have excess leds enabled on MSB */
 
+	TPACPI_Q_LNV('6', 'N', 0x43bf), /* W510 */
+
 	/* Defaults (order matters, keep last, don't reorder!) */
 	{ /* Lenovo */
 	  .vendor = PCI_VENDOR_ID_LENOVO,
-- 
1.7.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-09 18:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-08  3:07 [PATCH] TPACPI: Make W510 microphone LED working Marek Vasut
2012-04-09 14:15 ` Henrique de Moraes Holschuh
2012-04-09 18:54   ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.