From 77b754bdc62ca84b152223c9e1f087cb98eaff40 Mon Sep 17 00:00:00 2001 From: Martin Kebert Date: Wed, 4 Feb 2009 15:12:12 -0800 Subject: [PATCH] --- yaml --- r: 130971 b: refs/heads/master c: 87357d277a024934389ddc37808290c53c74339e h: refs/heads/master i: 130969: 218be3ec175f7b8854a09f4745b712f0090c24c8 130967: 06571df3af0e90378a4634ac7a1488ed8c892b6b v: v3 --- [refs] | 2 +- trunk/drivers/hwmon/hp_accel.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 451205c93aac..d357c687f7b3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c77a022d2994b0ccfb583c7dfd6392e3cd0391fe +refs/heads/master: 87357d277a024934389ddc37808290c53c74339e diff --git a/trunk/drivers/hwmon/hp_accel.c b/trunk/drivers/hwmon/hp_accel.c index 0eb53d227ff6..abf4dfc8ec22 100644 --- a/trunk/drivers/hwmon/hp_accel.c +++ b/trunk/drivers/hwmon/hp_accel.c @@ -156,6 +156,7 @@ static struct axis_conversion lis3lv02d_axis_xy_rotated_left = {-2, 1, 3}; static struct axis_conversion lis3lv02d_axis_xy_rotated_left_usd = {-2, 1, -3}; static struct axis_conversion lis3lv02d_axis_xy_swap_inverted = {-2, -1, 3}; static struct axis_conversion lis3lv02d_axis_xy_rotated_right = {2, -1, 3}; +static struct axis_conversion lis3lv02d_axis_xy_swap_yz_inverted = {2, -1, -3}; #define AXIS_DMI_MATCH(_ident, _name, _axis) { \ .ident = _ident, \ @@ -177,9 +178,9 @@ static struct dmi_system_id lis3lv02d_dmi_ids[] = { AXIS_DMI_MATCH("NC653x", "HP Compaq 653", xy_rotated_left_usd), AXIS_DMI_MATCH("NC673x", "HP Compaq 673", xy_rotated_left_usd), AXIS_DMI_MATCH("NC651xx", "HP Compaq 651", xy_rotated_right), + AXIS_DMI_MATCH("NC671xx", "HP Compaq 671", xy_swap_yz_inverted), { NULL, } /* Laptop models without axis info (yet): - * "NC671xx" "HP Compaq 671" * "NC6910" "HP Compaq 6910" * HP Compaq 8710x Notebook PC / Mobile Workstation * "NC2400" "HP Compaq nc2400"