]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
hp_accel: Add axis-mapping for HP ProBook / EliteBook
authorTakashi Iwai <tiwai@suse.de>
Wed, 5 Oct 2011 00:42:23 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 5 Oct 2011 07:50:23 +0000 (18:50 +1100)
Add the corrected axis-mapping for some HP laptops.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/platform/x86/hp_accel.c

index 074e79e4ad98dab8037b92270775fac84bbc36a8..64b454855f6550272fa4b6a28a64cdb1f34559c7 100644 (file)
@@ -229,6 +229,10 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = {
        AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap),
        AXIS_DMI_MATCH("HPB532x", "HP ProBook 532", y_inverted),
        AXIS_DMI_MATCH("Mini510x", "HP Mini 510", xy_rotated_left_usd),
+       AXIS_DMI_MATCH("HPB63xx", "HP ProBook 63", xy_swap),
+       AXIS_DMI_MATCH("HPB64xx", "HP ProBook 64", xy_swap),
+       AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
+       AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
        { NULL, }
 /* Laptop models without axis info (yet):
  * "NC6910" "HP Compaq 6910"