platform/x86: hp_accel: Add support for HP ZBook 17 G5
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Wed, 10 Jul 2019 05:33:26 +0000 (13:33 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Jul 2019 15:31:48 +0000 (18:31 +0300)
HP ZBook 17 G5 needs a non-standard mapping, x_inverted.

Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/hp_accel.c

index 7a274745523776626f54605da0c60b667e0f05f3..799cbe2ffcf36fe6d9ac3ab7094964bfb2a412bd 100644 (file)
@@ -240,6 +240,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("HPZBook17G5", "HP ZBook 17 G5", x_inverted),
        AXIS_DMI_MATCH("HPZBook17", "HP ZBook 17", xy_swap_yz_inverted),
        { NULL, }
 /* Laptop models without axis info (yet):