[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120113181115.GC29700@kroah.com>
Date: Fri, 13 Jan 2012 10:11:15 -0800
From: Greg KH <greg@...ah.com>
To: Dmitry Antipov <dmitry.antipov@...aro.org>
Cc: Steve Glendinning <steve.glendinning@...c.com>,
Greg Kroah-Hartman <gregkh@...e.de>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers/net/usb/smsc95xx.c: change msleep() to
usleep_range()
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@...aro.org>
> ---
> drivers/net/usb/smsc95xx.c | 6 +++---
drivers/net/* patches need to be sent to netdev@...r.kernel.org to be
properly applied.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists