Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751169AbZG3MhY (ORCPT ); Thu, 30 Jul 2009 08:37:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750978AbZG3MhX (ORCPT ); Thu, 30 Jul 2009 08:37:23 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:48572 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbZG3MhV (ORCPT ); Thu, 30 Jul 2009 08:37:21 -0400 Date: Thu, 30 Jul 2009 13:37:11 +0100 From: Matthew Garrett To: Frans Pop Cc: "Rafael J. Wysocki" , bugzilla-daemon@bugzilla.kernel.org, Len Brown , ACPI Devel Maling List , pm list , LKML , =?iso-8859-1?Q?C=E9dric?= Godin Subject: Re: [Bug 13865] [PATCH] hp-wmi: check that an input device exists in resume handler Message-ID: <20090730123711.GB14127@srcf.ucam.org> References: <200907292257.41573.rjw@sisk.pl> <200907301242.07973.elendil@planet.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200907301242.07973.elendil@planet.nl> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 22 On Thu, Jul 30, 2009 at 12:42:05PM +0200, Frans Pop wrote: > From: Frans Pop > 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 > Signed-off-by: Frans Pop > Cc: Matthew Garrett Acked-by: Matthew Garrett -- Matthew Garrett | mjg59@srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/