Re: [PATCH 4/4] ds2760: handle full_active_uAh == 0 case correctly

From: Anton Vorontsov
Date: Wed Jul 15 2009 - 15:28:41 EST


On Wed, Jul 15, 2009 at 12:06:25PM -0700, Andrew Morton wrote:
> On Wed, 15 Jul 2009 20:51:59 +0200
> Daniel Mack <daniel@xxxxxxxx> 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 <daniel@xxxxxxxx>
> > >> Cc: Szabolcs Gyurko <szabolcs.gyurko@xxxxxx>
> > >> Cc: Matt Reimer <mreimer@xxxxxxxx>
> > >> Cc: Anton Vorontsov <cbou@xxxxxxx>
> > >
> > > Acked-by: Matt Reimer <mreimer@xxxxxxxx>
> >
> > 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@xxxxxxxxx
irc://irc.freenode.net/bd2
--
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/