projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a88a2b8
)
lis3: add support for HP ProBook 432x/442x/452x/522x
author
Takashi Iwai
<tiwai@suse.de>
Fri, 23 Apr 2010 17:17:48 +0000
(13:17 -0400)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Sat, 24 Apr 2010 18:31:24 +0000
(11:31 -0700)
Correct axis-mappings for new HP ProBook laptops.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/hp_accel.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/hp_accel.c
b/drivers/hwmon/hp_accel.c
index be475e844c2a73b146314bf3209f487c02110f59..c8ab5051667217ab02321ec8a2a2d14db5a48104 100644
(file)
--- a/
drivers/hwmon/hp_accel.c
+++ b/
drivers/hwmon/hp_accel.c
@@
-217,6
+217,10
@@
static struct dmi_system_id lis3lv02d_dmi_ids[] = {
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),
+ AXIS_DMI_MATCH("HPB432x", "HP ProBook 432", xy_rotated_left),
+ AXIS_DMI_MATCH("HPB442x", "HP ProBook 442", xy_rotated_left),
+ AXIS_DMI_MATCH("HPB452x", "HP ProBook 452", y_inverted),
+ AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap),
{ NULL, }
/* Laptop models without axis info (yet):
* "NC6910" "HP Compaq 6910"