Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit daed9537 authored by Frans Pop's avatar Frans Pop Committed by Len Brown
Browse files

hp-wmi: check that an input device exists in resume handler

Some systems may not support input events, or registering the input
handler may have failed. So check that an input device exists before
trying to set the docking and tablet mode state during resume.

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=13865



Reported-and-tested-by: default avatarCédric Godin <cedric@belbone.be>
Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Acked-by: default avatarMatthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 4be3bd78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment