Commit 2545f038f4af0ff9945d47c10f988418dda50140
Committed by
Linus Torvalds
1 parent
af19611c4d
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/hwmon/hp_accel.c
... | ... | @@ -216,6 +216,7 @@ |
216 | 216 | y_inverted), |
217 | 217 | AXIS_DMI_MATCH("DV7", "HP Pavilion dv7", x_inverted), |
218 | 218 | AXIS_DMI_MATCH("HP8710", "HP Compaq 8710", y_inverted), |
219 | + AXIS_DMI_MATCH("HDX18", "HP HDX 18", x_inverted), | |
219 | 220 | { NULL, } |
220 | 221 | /* Laptop models without axis info (yet): |
221 | 222 | * "NC6910" "HP Compaq 6910" |