lkml.org 
[lkml]   [2016]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"
On Mon, Jan 25, 2016 at 04:47:26AM -0800, Joe Perches wrote:
> On Mon, 2016-01-25 at 12:16 +0300, Dan Carpenter wrote:
> > Ugh...  Checkpatch told us to introduce bugs...  :(  We almost certainly
> > would have missed this bug in review, but it wasn't sent to the list so
> > I guess we'll never know.
>
> So when isn't usleep_range preferred over udelay?

inside a spin_lock or in some interrupt routine.

regards
sudip

\
 
 \ /
  Last update: 2016-01-25 14:21    [W:0.182 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site