All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Oliver Neukum <oliver@neukum.org>
Cc: Pavel Machek <pavel@suse.cz>, Stefan Seyfried <seife@suse.de>,
	linux-bluetooth@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: [rfc/rft]power management for btusb
Date: Wed, 20 Aug 2008 12:18:04 +0200	[thread overview]
Message-ID: <1219227484.7591.318.camel@violet.holtmann.net> (raw)
In-Reply-To: <200808201142.52620.oliver@neukum.org>

Hi Oliver,

> this implements very simple power management for btusb.
> Comments?

looks a little but too much.

What are the semantics for usb_autopm_{get,put}_interface? Can we expect
to always get a suspend() and resume() callback?

So in open(), do we have to actually start the interrupt URB or can we
just wait for resume() to be happening?

I don't wanna misuse the *_RUNNING bits. They are only there to make
sure that we non re-submit the URBs.

Regards

Marcel



  reply	other threads:[~2008-08-20 10:18 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-20  9:42 [rfc/rft]power management for btusb Oliver Neukum
2008-08-20 10:18 ` Marcel Holtmann [this message]
2008-08-20 12:05   ` Oliver Neukum
2008-08-20 12:34     ` Marcel Holtmann
2008-08-20 12:42       ` Oliver Neukum
2008-08-20 13:00         ` Marcel Holtmann
2008-08-20 13:03           ` Felipe Balbi
2008-08-20 13:05           ` Oliver Neukum
2008-08-20 13:05             ` Marcel Holtmann
2008-08-20 13:11               ` Oliver Neukum
2008-08-20 13:13                 ` Marcel Holtmann
2008-08-20 13:23                   ` Oliver Neukum
2008-08-20 13:24                     ` Marcel Holtmann
2008-08-20 13:34                       ` Oliver Neukum
2008-08-20 13:39                         ` Marcel Holtmann
2008-08-20 14:00                           ` Oliver Neukum
2008-08-20 15:25                             ` Marcel Holtmann
2008-08-20 15:33                               ` Oliver Neukum
2008-08-20 15:35                               ` Alan Stern
2008-08-20 15:41                                 ` Marcel Holtmann
2008-08-20 15:55                                   ` Alan Stern
2008-08-20 16:04                                     ` Oliver Neukum

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=1219227484.7591.318.camel@violet.holtmann.net \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=pavel@suse.cz \
    --cc=seife@suse.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.