public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Dmitry Baryshkov <dbaryshkov@gmail.com>,
	linux-kernel@vger.kernel.org, cbou@mail.ru, dwmw2@infradead.org
Subject: Re: [PATCH] Add support for power_supply on tosa
Date: Wed, 2 Jul 2008 01:52:51 +0400	[thread overview]
Message-ID: <20080701215251.GA12957@polina.dev.rtsoft.ru> (raw)
In-Reply-To: <20080701143232.cca14c86.akpm@linux-foundation.org>

On Tue, Jul 01, 2008 at 02:32:32PM -0700, Andrew Morton wrote:
> On Fri, 20 Jun 2008 12:49:17 +0400
> Dmitry Baryshkov <dbaryshkov@gmail.com> wrote:
> 
> > Support the battery management on Sharp Zaurus SL-6000.
> > 
> > This patch depends on the tc6393xb support as found in the arm:devel
> > or linux-next trees.
> 
> Which means that Anton can't really merge it into his tree, I guess.

Hm. Actually, yesterday I applied it to battery-2.6 with assumption
that mfd part will get into mainline in 2.6.27.

Since Kconfig specify that driver depends on MFD_TC6393XB, maximum we'd
get for now is Kconfig warning wrt unknown symbol, but nothing could
select it, thus can't break the build (we have few examples of such
non-selectable drivers even in Linus' tree. For example
drivers/net/cpmac.c: there is no such thing as CONFIG_AR7 -- it is still
in openwrt tree).

But I can git --reset, should I?

[...]
> > +	mutex_lock(&bat_lock);
> > +	gpio_set_value(bat->gpio_bat, 1);
> > +	mdelay(5);
> 
> msleep() is preferred over a busywait.

I did review this patch, and did mention exactly the same, plus
some other stuff:
http://lkml.org/lkml/2008/6/23/17

Dmitry posted fixed version that I applied:
http://lkml.org/lkml/2008/6/24/266

So, in case this goes through -mm, you'd probably want the fixed version.

-- 
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2

      reply	other threads:[~2008-07-01 21:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20  8:49 [PATCH] Add support for power_supply on tosa Dmitry Baryshkov
2008-06-22 15:21 ` Dmitry Baryshkov
2008-06-23  6:19 ` Anton Vorontsov
2008-06-24 14:51   ` Dmitry Baryshkov
2008-06-30 15:32     ` Dmitry Baryshkov
2008-06-30 19:04       ` Anton Vorontsov
2008-07-01 11:52         ` Dmitry Baryshkov
2008-07-01 21:32 ` Andrew Morton
2008-07-01 21:52   ` Anton Vorontsov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080701215251.GA12957@polina.dev.rtsoft.ru \
    --to=avorontsov@ru.mvista.com \
    --cc=akpm@linux-foundation.org \
    --cc=cbou@mail.ru \
    --cc=dbaryshkov@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox