Re: [Bug 13865] [PATCH] hp-wmi: check that an input device existsin resume handler

From: Matthew Garrett
Date: Thu Jul 30 2009 - 08:37:30 EST


On Thu, Jul 30, 2009 at 12:42:05PM +0200, Frans Pop wrote:
> From: Frans Pop <elendil@xxxxxxxxx>
> Subject: 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@xxxxxxxxxx>
> Signed-off-by: Frans Pop <elendil@xxxxxxxxx>
> Cc: Matthew Garrett <mjg59@xxxxxxxxxxxxx>
Acked-by: Matthew Garrett <mjg@xxxxxxxxxx>

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/