netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: oliver@neukum.org
Cc: netdev@vger.kernel.org, oneukum@suse.de
Subject: Re: [PATCH] usbnet: Support devices reporting idleness
Date: Thu, 11 Oct 2012 15:20:23 -0400 (EDT)	[thread overview]
Message-ID: <20121011.152023.1518627353741520073.davem@davemloft.net> (raw)
In-Reply-To: <1349959810-16607-1-git-send-email-oliver@neukum.org>

From: Oliver Neukum <oliver@neukum.org>
Date: Thu, 11 Oct 2012 14:50:10 +0200

> Some device types support a form of power management in which
> the device suggests to the host that the device may be suspended
> now. Support for that is best located in usbnet.
> 
> Signed-off-by: Oliver Neukum <oneukum@suse.de>

Applied, but:

> +void usbnet_device_suggests_idle(struct usbnet *dev)
> +{
> +	if (!test_and_set_bit(EVENT_DEVICE_REPORT_IDLE, &dev->flags)) {
> +		dev->intf->needs_remote_wakeup = 1;
> +		usb_autopm_put_interface_async(dev->intf);
> +	}		
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Trailing whitespace.

      reply	other threads:[~2012-10-11 19:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 12:50 [PATCH] usbnet: Support devices reporting idleness Oliver Neukum
2012-10-11 19:20 ` David Miller [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=20121011.152023.1518627353741520073.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=oliver@neukum.org \
    --cc=oneukum@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).