public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Heikki Krogerus <krohei@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Grazvydas Ignotas <notasas@gmail.com>
Subject: Re: [PATCH 0/3] Support for SUSPEND and RESUME for USB chargers
Date: Thu, 9 Jun 2011 14:25:46 +0300	[thread overview]
Message-ID: <20110609112546.GA23520@xps8300> (raw)
In-Reply-To: <20110608205405.GB27448@kroah.com>

On Wed, Jun 08, 2011 at 01:54:05PM -0700, Greg KH wrote:
> On Wed, Jun 08, 2011 at 12:44:38PM +0300, Heikki Krogerus wrote:
> > The charging should be prevented if the bus is suspended.
> > 
> > These notifications will come from the udc drivers. I'll create a
> > separate patch set for those, as I guess the maintainers of the
> > controller drivers need to approve those.
> 
> Can you send them here as well?  These patches never set this value, so
> I don't see why you did it this way, instead of just getting the
> "normal" suspend/resume callback and triggering off of that.

I'm not completely sure what you mean with "normal" suspend/resume
callback? I want to get the information about the SUSPEND and RESUME
bus states to the charger drivers and I don't want to tie them with
any USB transceiver or controller driver. Wasn't this the reason for
having the otg notifiers in the first place?

I'll spend a bit more time with these and resend when I have
everything ready. Gražvydas noticed an issue with the
isp1704_charger.c so that patch is broken in any case.

> Still confused,

I did not think this through. Sorry about that. I should have send
everything from the beginning and I should have been more clear what
I'm after with these.

-- 
heikki

      reply	other threads:[~2011-06-09 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08  9:44 [PATCH 0/3] Support for SUSPEND and RESUME for USB chargers Heikki Krogerus
2011-06-08  9:44 ` [PATCH 1/3] usb: otg: add events for suspend/resume states Heikki Krogerus
2011-06-08  9:44 ` [PATCH 2/3] isp1704_charger: Handle suspended and resumed events Heikki Krogerus
2011-06-08  9:44 ` [PATCH 3/3] twl4030_charger: " Heikki Krogerus
2011-06-08 20:54 ` [PATCH 0/3] Support for SUSPEND and RESUME for USB chargers Greg KH
2011-06-09 11:25   ` Heikki Krogerus [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=20110609112546.GA23520@xps8300 \
    --to=krohei@gmail.com \
    --cc=cbouatmailru@gmail.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=notasas@gmail.com \
    /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