[PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting
From: Carlo Caione
Date: Sun Apr 09 2017 - 09:56:44 EST
From: Carlo Caione <carlo@xxxxxxxxxxxx>
Several HP laptops cannot be put to sleep using the LID since systemd complains
that the system is docked even though the laptop is not even dockable (see
[1]).
This is due to a bug in hp-wmi where the driver is failing to check for errors
before creating the input switches.
[1]: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120
Carlo Caione (2):
hp-wmi: Fix error value for hp_wmi_tablet_state
hp-wmi: Fix detection for dock and tablet mode
drivers/platform/x86/hp-wmi.c | 42 ++++++++++++++++++++++++++++--------------
1 file changed, 28 insertions(+), 14 deletions(-)
--
2.9.3