hp_accel: add support for HP Pavilion Gaming Laptop
Subsystems (2)
PATCH 1/1 hp_accel: add support for HP Pavilion Gaming Laptop
Accelerometer in that laptop uses inverted X axes.
Signed-off-by Pavel Skripkin <[email protected]>
--- drivers/platform/x86/hp/hp_accel.c | 1 + 1 file changed, 1 insertion(+)
drivers/platform/x86/hp/hp_accel.c +1 -0
@@ -233,6 +233,7 @@ static const struct dmi_system_id lis3lv02d_dmi_ids[] = {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), +AXIS_DMI_MATCH ("HPPavilion15ec" ,"HP Pavilion Gaming Laptop 15-ec1xxx" , x_inverted), { NULL, }/* Laptop models without axis info (yet): * "NC6910" "HP Compaq 6910"
Signature · 1 line
2.56.0
Ilpo Järvinen
maintainerQuoted 1 line · Pavel Skripkin
Accelerometer in that laptop uses inverted X axes.
Thank you for your contribution, it has been applied to my local review-ilpo-next branch. Note it will show up in the public platform-drivers-x86/review-ilpo-next branch only once I've pushed my local branch there, which might take a while.
FYI [if applicable to your patch], as per Linus' policy change, also fixes are mostly routed through for-next unless the fix is for a commit introduced in the most recent cycle or is clearly a regression fix.
The list of commits applied:
[1/1] hp_accel: add support for HP Pavilion Gaming Laptop
commit: 518e9d2eeaa5a8568951269a47be2182f4674efa
--
i.