hwmon: (hdaps) Fix Thinkpad X41 axis inversion

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, March 30, 2009 - 6:59 pm

Gitweb:     http://git.kernel.org/linus/b6a33fe2cc1b44851174967943fe5989f7e0550f
Commit:     b6a33fe2cc1b44851174967943fe5989f7e0550f
Parent:     2b8cf3e8c0638687a7a28a7517e673f855623e3b
Author:     Frank Seidel <frank@f-seidel.de>
AuthorDate: Mon Mar 30 21:46:42 2009 +0200
Committer:  Jean Delvare <khali@linux-fr.org>
CommitDate: Mon Mar 30 21:46:42 2009 +0200

    hwmon: (hdaps) Fix Thinkpad X41 axis inversion
    
    Fix for kernel.org bug #7154: hdaps inversion of actual Thinkpad
    X41's Y-axis.
    
    Signed-off-by: Frank Seidel <frank@f-seidel.de>
    Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
 drivers/hwmon/hdaps.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/hdaps.c b/drivers/hwmon/hdaps.c
index dd058e0..d3612a1 100644
--- a/drivers/hwmon/hdaps.c
+++ b/drivers/hwmon/hdaps.c
@@ -527,7 +527,7 @@ static struct dmi_system_id __initdata hdaps_whitelist[] = {
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61p", HDAPS_BOTH_AXES),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad T61", HDAPS_BOTH_AXES),
 	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X40"),
-	HDAPS_DMI_MATCH_NORMAL("IBM", "ThinkPad X41"),
+	HDAPS_DMI_MATCH_INVERT("IBM", "ThinkPad X41", HDAPS_Y_AXIS),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X60", HDAPS_BOTH_AXES),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61s", HDAPS_BOTH_AXES),
 	HDAPS_DMI_MATCH_INVERT("LENOVO", "ThinkPad X61", HDAPS_BOTH_AXES),
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
hwmon: (hdaps) Fix Thinkpad X41 axis inversion, Linux Kernel Mailing ..., (Mon Mar 30, 6:59 pm)