summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/hp_accel.c
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2016-12-21 12:55:53 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-02-03 15:04:53 +0300
commit3e491607600aacab5d9cc13aabb9c8b07b0c0909 (patch)
tree25350a870e2acefa29b7474f4d011e0be5573cce /drivers/platform/x86/hp_accel.c
parent98d610c3739ac354319a6590b915f4624d9151e6 (diff)
downloadlinux-3e491607600aacab5d9cc13aabb9c8b07b0c0909.tar.xz
platform/x86: hp_accel: Add support for HP ZBook 17
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>
Diffstat (limited to 'drivers/platform/x86/hp_accel.c')
-rw-r--r--drivers/platform/x86/hp_accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c
index 09356684c32f..493d8910a74e 100644
--- a/drivers/platform/x86/hp_accel.c
+++ b/drivers/platform/x86/hp_accel.c
@@ -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"