diff options
author | Martin Vajnar <martin.vajnar@gmail.com> | 2016-04-02 14:11:13 -0400 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-04-14 23:32:13 -0400 |
commit | 330a106508128056b3d7b6c940a4e906da2282dc (patch) | |
tree | 03b210c4227a4beadf0f97c985f257b234009f1f /drivers/platform | |
parent | 45aa56cd0ffc2ebc2274f1bacc985b6f032c0120 (diff) |
hp_accel: Add support for HP ProBook 440 G3
HP ProBook 440 G3 laptop needs a non-standard mapping (x_inverted_usd).
Signed-off-by: Martin Vajnar <martin.vajnar@gmail.com>
Acked-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/hp_accel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c index 10ce6cba4455..263002ba43eb 100644 --- a/drivers/platform/x86/hp_accel.c +++ b/drivers/platform/x86/hp_accel.c | |||
@@ -173,6 +173,7 @@ static int lis3lv02d_dmi_matched(const struct dmi_system_id *dmi) | |||
173 | DEFINE_CONV(normal, 1, 2, 3); | 173 | DEFINE_CONV(normal, 1, 2, 3); |
174 | DEFINE_CONV(y_inverted, 1, -2, 3); | 174 | DEFINE_CONV(y_inverted, 1, -2, 3); |
175 | DEFINE_CONV(x_inverted, -1, 2, 3); | 175 | DEFINE_CONV(x_inverted, -1, 2, 3); |
176 | DEFINE_CONV(x_inverted_usd, -1, 2, -3); | ||
176 | DEFINE_CONV(z_inverted, 1, 2, -3); | 177 | DEFINE_CONV(z_inverted, 1, 2, -3); |
177 | DEFINE_CONV(xy_swap, 2, 1, 3); | 178 | DEFINE_CONV(xy_swap, 2, 1, 3); |
178 | DEFINE_CONV(xy_rotated_left, -2, 1, 3); | 179 | DEFINE_CONV(xy_rotated_left, -2, 1, 3); |
@@ -236,6 +237,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = { | |||
236 | AXIS_DMI_MATCH("HP8710", "HP Compaq 8710", y_inverted), | 237 | AXIS_DMI_MATCH("HP8710", "HP Compaq 8710", y_inverted), |
237 | AXIS_DMI_MATCH("HDX18", "HP HDX 18", x_inverted), | 238 | AXIS_DMI_MATCH("HDX18", "HP HDX 18", x_inverted), |
238 | AXIS_DMI_MATCH("HPB432x", "HP ProBook 432", xy_rotated_left), | 239 | AXIS_DMI_MATCH("HPB432x", "HP ProBook 432", xy_rotated_left), |
240 | AXIS_DMI_MATCH("HPB440G3", "HP ProBook 440 G3", x_inverted_usd), | ||
239 | AXIS_DMI_MATCH("HPB442x", "HP ProBook 442", xy_rotated_left), | 241 | AXIS_DMI_MATCH("HPB442x", "HP ProBook 442", xy_rotated_left), |
240 | AXIS_DMI_MATCH("HPB452x", "HP ProBook 452", y_inverted), | 242 | AXIS_DMI_MATCH("HPB452x", "HP ProBook 452", y_inverted), |
241 | AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap), | 243 | AXIS_DMI_MATCH("HPB522x", "HP ProBook 522", xy_swap), |