From: Greg KH <greg@kroah.com>
To: Dmitry Antipov <dmitry.antipov@linaro.org>
Cc: Steve Glendinning <steve.glendinning@smsc.com>,
Greg Kroah-Hartman <gregkh@suse.de>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drivers/net/usb/smsc95xx.c: change msleep() to usleep_range()
Date: Fri, 13 Jan 2012 10:11:15 -0800 [thread overview]
Message-ID: <20120113181115.GC29700@kroah.com> (raw)
In-Reply-To: <1326455824-8685-1-git-send-email-dmitry.antipov@linaro.org>
On Fri, Jan 13, 2012 at 03:57:04PM +0400, Dmitry Antipov wrote:
> The resolution of msleep is related to HZ, so 10ms msleep() causes
> ~23ms sleep with OMAP's default CONFIG_HZ=128 timer configuration.
> This looks too much, and usleep_range() with some slack gives more
> control of what is happening here.
>
> Signed-off-by: Dmitry Antipov <dmitry.antipov@linaro.org>
> ---
> drivers/net/usb/smsc95xx.c | 6 +++---
drivers/net/* patches need to be sent to netdev@vger.kernel.org to be
properly applied.
thanks,
greg k-h
prev parent reply other threads:[~2012-01-13 18:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-13 11:57 [PATCH] drivers/net/usb/smsc95xx.c: change msleep() to usleep_range() Dmitry Antipov
2012-01-13 18:11 ` Greg KH [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=20120113181115.GC29700@kroah.com \
--to=greg@kroah.com \
--cc=dmitry.antipov@linaro.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=steve.glendinning@smsc.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