summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEva Rachel Retuya <eraretuya@gmail.com>2015-10-24 20:24:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-25 22:09:16 +0300
commitc75e057744fb16d00668674cf41d63b61ee3cd2d (patch)
tree2640fe9df5d28164f4138f0d89f1cc3ff236f0f0 /include
parentd6a0692befc1b85dc2e5408e90e51452a6533f47 (diff)
downloadlinux-c75e057744fb16d00668674cf41d63b61ee3cd2d.tar.xz
Staging: mt29f_spinand: Replace udelay function with usleep_range
Use 'usleep_range' instead of 'udelay' to elapse time. For spinand_reset, define the upper limit by a factor of 2 to keep the wait short while still allowing a "good enough" range for wakeup. Define the range 250us - 1ms for spinand_cmdfunc to provide enough leeway before issuing spinand_reset. Checkpatch found this issue. CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt Signed-off-by: Eva Rachel Retuya <eraretuya@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions