platform/x86: hp_accel: Add support for HP ZBook 17
authorLadislav Michl <ladis@linux-mips.org>
Wed, 21 Dec 2016 09:55:53 +0000 (10:55 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 3 Feb 2017 12:04:53 +0000 (14:04 +0200)
HP ZBook 17 laptop needs a non-standard mapping (xy_swap_yz_inverted).

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/hp_accel.c

index 09356684c32f6a78f03dbc5ef1dd7addc828bf08..493d8910a74e2eca10812c3202a74cdb21ed37cd 100644 (file)
@@ -251,6 +251,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {
        AXIS_DMI_MATCH("HPB64xx", "HP EliteBook 84", xy_swap),
        AXIS_DMI_MATCH("HPB65xx", "HP ProBook 65", x_inverted),
        AXIS_DMI_MATCH("HPZBook15", "HP ZBook 15", x_inverted),
+       AXIS_DMI_MATCH("HPZBook17", "HP ZBook 17", xy_swap_yz_inverted),
        { NULL, }
 /* Laptop models without axis info (yet):
  * "NC6910" "HP Compaq 6910"