diff options
author | Frans Pop <elendil@planet.nl> | 2009-07-30 21:16:05 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-07-30 21:16:05 (GMT) |
commit | daed953721850381673687c59f3a0df553eb6626 (patch) | |
tree | 013f790c39736d80727751be13e0f5cf0358cf02 /drivers/scsi/scsi_wait_scan.c | |
parent | 4be3bd7849165e7efa6b0b35a23d6a3598d97465 (diff) | |
download | linux-fsl-qoriq-daed953721850381673687c59f3a0df553eb6626.tar.xz |
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: Cédric Godin <cedric@belbone.be>
Signed-off-by: Frans Pop <elendil@planet.nl>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/scsi/scsi_wait_scan.c')
0 files changed, 0 insertions, 0 deletions