summaryrefslogtreecommitdiff
path: root/include/linux/dynamic_queue_limits.h
diff options
context:
space:
mode:
authorSunny Kumar <sunny.kumar.roy@gmail.com>2015-07-07 09:57:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-23 01:45:04 +0300
commite616b39a16d4458224d91697b0a2599336f0c38c (patch)
tree38236d5789675d04049820105a5ab0c53064dce4 /include/linux/dynamic_queue_limits.h
parent655fe4effe0f1f40e4f6ca6b3cc64a7fe0032183 (diff)
downloadlinux-e616b39a16d4458224d91697b0a2599336f0c38c.tar.xz
usb: usleep_range is preferred over udelay where wakeup is flexible
According to Documentation/timers/timers-howto.txt" udelay() is only called once from a place where sleeping is allowed. We can replace it with a call to usleep_range() with a reasonable upper limit. Signed-off-by: Sunny Kumar <sunny.kumar.roy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dynamic_queue_limits.h')
0 files changed, 0 insertions, 0 deletions