linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting
@ 2017-04-09 13:56 Carlo Caione
  2017-04-09 13:56 ` [PATCH 1/2] hp-wmi: Fix error value for hp_wmi_tablet_state Carlo Caione
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Carlo Caione @ 2017-04-09 13:56 UTC (permalink / raw)
  To: dvhart, andy, platform-driver-x86, linux-kernel, linux; +Cc: Carlo Caione

From: Carlo Caione <carlo@endlessm.com>

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-19 20:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-09 13:56 [PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting Carlo Caione
2017-04-09 13:56 ` [PATCH 1/2] hp-wmi: Fix error value for hp_wmi_tablet_state Carlo Caione
2017-04-19 16:21   ` Andy Shevchenko
2017-04-19 16:24     ` Carlo Caione
2017-04-19 16:26       ` Andy Shevchenko
2017-04-09 13:56 ` [PATCH 2/2] hp-wmi: Fix detection for dock and tablet mode Carlo Caione
2017-04-13 18:21   ` Darren Hart
2017-04-13 20:09     ` Carlo Caione
2017-04-13 23:07       ` Darren Hart
2017-04-19 16:23         ` Andy Shevchenko
2017-04-19 20:12           ` Darren Hart
2017-04-13  6:28 ` [PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting Carlo Caione
2017-04-13 17:23   ` Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).