summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorIan E. Morgan <penguin.wrangler@gmail.com>2009-10-27 00:50:21 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-29 15:39:32 +0100
commit2545f038f4af0ff9945d47c10f988418dda50140 (patch)
treee4bda718637f048096896e8c39620a0c1daafaec /drivers/hwmon
parentlis3: add support for the HP EliteBook 8530w (diff)
downloadlinux-2545f038f4af0ff9945d47c10f988418dda50140.tar.xz
linux-2545f038f4af0ff9945d47c10f988418dda50140.zip
lis3: add support for the HP HDX 18
I have an HP HDX 18 laptop, and noted that the configuration of the accelerometer needs to be x_inverted. Signed-off-by: Ian E. Morgan <penguin.wrangler@gmail.com> Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/hp_accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c
index 1796b93a6e1d..be475e844c2a 100644
--- a/drivers/hwmon/hp_accel.c
+++ b/drivers/hwmon/hp_accel.c
@@ -216,6 +216,7 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = {
y_inverted),
AXIS_DMI_MATCH("DV7", "HP Pavilion dv7", x_inverted),
AXIS_DMI_MATCH("HP8710", "HP Compaq 8710", y_inverted),
+ AXIS_DMI_MATCH("HDX18", "HP HDX 18", x_inverted),
{ NULL, }
/* Laptop models without axis info (yet):
* "NC6910" "HP Compaq 6910"