Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753997AbZIGQIc (ORCPT ); Mon, 7 Sep 2009 12:08:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753901AbZIGQIb (ORCPT ); Mon, 7 Sep 2009 12:08:31 -0400 Received: from mail-qy0-f190.google.com ([209.85.221.190]:60415 "EHLO mail-qy0-f190.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753739AbZIGQIb (ORCPT ); Mon, 7 Sep 2009 12:08:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=mJ99PyPw2gZEjRV0mqgmeqV7/wUClFltXzLmUvMWjqvEquALadTksr7qNg5Wany6o1 ty+7zBCPIWkcFZ2srB/RbyZQSKRcTHfUmxPLo/uuwaQbLDi//v2VjO8lIZJZTiXpn20m xeAChHGHTFnCrsxRadS0RpmdP+iKl014ScFR4= MIME-Version: 1.0 In-Reply-To: <1252243938.4136.26.camel@utx.utx.cz> References: <20090906052840.GF1324@ucw.cz> <1252243938.4136.26.camel@utx.utx.cz> From: Eric Miao Date: Tue, 8 Sep 2009 00:08:13 +0800 Message-ID: Subject: Re: zaurus c3000 aka spitz: fix resume To: Stanislav Brabec Cc: Pavel Machek , thommycheck@gmail.com, Russell King , dbaryshkov@gmail.com, Cyril Hrubis , arminlitzel@web.de, kernel list , Dirk@opfer-online.de, lenz@cs.wisc.edu, rpurdie@rpsys.net, omegamoon@gmail.com, eric.miao@marvell.com, linux-arm-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 643 Lines: 17 On Sun, Sep 6, 2009 at 9:32 PM, Stanislav Brabec wrote: > Pavel Machek wrote: >> sharpsl_pm.c code tries to read battery state very early during >> resume, but those battery meters are connected on SPI and that's only >> resumed way later. >> >> Replace the check with simple checking of battery fatal signal, that >> actually works at this stage. > > Tested on: Applied to 'fix'. -- 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/