Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756106AbZGOT2f (ORCPT ); Wed, 15 Jul 2009 15:28:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755994AbZGOT2f (ORCPT ); Wed, 15 Jul 2009 15:28:35 -0400 Received: from ru.mvista.com ([213.79.90.228]:7344 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1755807AbZGOT2e (ORCPT ); Wed, 15 Jul 2009 15:28:34 -0400 Date: Wed, 15 Jul 2009 23:28:33 +0400 From: Anton Vorontsov To: Andrew Morton Cc: Daniel Mack , mreimer@vpop.net, linux-kernel@vger.kernel.org, szabolcs.gyurko@tlt.hu, cbou@mail.ru Subject: Re: [PATCH 4/4] ds2760: handle full_active_uAh == 0 case correctly Message-ID: <20090715192833.GA8938@oksana.dev.rtsoft.ru> Reply-To: avorontsov@ru.mvista.com References: <1247674841-9909-1-git-send-email-daniel@caiaq.de> <1247674841-9909-2-git-send-email-daniel@caiaq.de> <1247674841-9909-3-git-send-email-daniel@caiaq.de> <1247674841-9909-4-git-send-email-daniel@caiaq.de> <147B4C9E-4AE2-4FAD-BC58-7D5D905A1B77@vpop.net> <20090715185159.GI9464@buzzloop.caiaq.de> <20090715120625.cb8937f3.akpm@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20090715120625.cb8937f3.akpm@linux-foundation.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1441 Lines: 41 On Wed, Jul 15, 2009 at 12:06:25PM -0700, Andrew Morton wrote: > On Wed, 15 Jul 2009 20:51:59 +0200 > Daniel Mack wrote: > > > On Wed, Jul 15, 2009 at 11:06:29AM -0700, Matt Reimer wrote: > > > On Jul 15, 2009, at 9:20 AM, Daniel Mack wrote: > > > > > >> In systems where the battery monitor is not part of the battery pack > > >> and > > >> is hence not bootstrapped with sane values, the full_active_uAh is > > >> likely to be zero. > > >> > > >> Handle that case by defaulting to the rated_capacity information which > > >> can be passed to the driver using the new module parameter. > > >> > > >> Signed-off-by: Daniel Mack > > >> Cc: Szabolcs Gyurko > > >> Cc: Matt Reimer > > >> Cc: Anton Vorontsov > > > > > > Acked-by: Matt Reimer > > > > Thanks Matt :) Andrew, will they go thru your channel? > > > > Well. I'll look at them, as I try to do when someone cc'ed me. But > drivers/power is usually handled by Anton? Yep. All patches look good, I'll apply them to battery-2.6.git. Thanks, -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2 -- 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/