projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af19611
)
lis3: add support for the HP HDX 18
author
Ian E. Morgan
<
[email protected]
>
Mon, 26 Oct 2009 23:50:21 +0000
(16:50 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 29 Oct 2009 14:39:32 +0000
(07:39 -0700)
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 <
[email protected]
>
Signed-off-by: Éric Piel <
[email protected]
>
Cc: Pavel Machek <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/hwmon/hp_accel.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/hp_accel.c
b/drivers/hwmon/hp_accel.c
index 1796b93a6e1d0dd60c700ae7adb57977d29bbc82..be475e844c2a73b146314bf3209f487c02110f59 100644
(file)
--- 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"