lkml.org 
[lkml]   [2012]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@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


\
 
 \ /
  Last update: 2012-01-13 19:17    [W:0.021 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site