* [PATCH] lis3: add support for HP ProBook 432x/442x/452x/522x
@ 2010-04-07 20:52 Takashi Iwai
2010-04-07 21:23 ` Éric Piel
0 siblings, 1 reply; 2+ messages in thread
From: Takashi Iwai @ 2010-04-07 20:52 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Pavel Machek, Eric Piel
Correct axis-mappings for new HP ProBook laptops.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
drivers/hwmon/hp_accel.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c
index be475e8..c8ab505 100644
--- 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"
--
1.7.0.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] lis3: add support for HP ProBook 432x/442x/452x/522x
2010-04-07 20:52 [PATCH] lis3: add support for HP ProBook 432x/442x/452x/522x Takashi Iwai
@ 2010-04-07 21:23 ` Éric Piel
0 siblings, 0 replies; 2+ messages in thread
From: Éric Piel @ 2010-04-07 21:23 UTC (permalink / raw)
To: Takashi Iwai; +Cc: linux-kernel, Andrew Morton, Pavel Machek
Op 07-04-10 22:52, Takashi Iwai schreef:
> Correct axis-mappings for new HP ProBook laptops.
>
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Looks fine. Thanks Takashi!
Acked-by: Eric Piel <eric.piel@tremplin-utc.net>
Eric
> ---
> drivers/hwmon/hp_accel.c | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/hwmon/hp_accel.c b/drivers/hwmon/hp_accel.c
> index be475e8..c8ab505 100644
> --- 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"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-07 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-07 20:52 [PATCH] lis3: add support for HP ProBook 432x/442x/452x/522x Takashi Iwai
2010-04-07 21:23 ` Éric Piel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.