diff options
author | John Crispin <john@openwrt.org> | 2014-12-07 16:53:09 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-12-07 16:53:09 +0000 |
commit | 59e7999a440be5cb229cba87b3a0fb8392b094da (patch) | |
tree | d5e4ff0999b23f7f90835abc1934c5d9c0170c6e /target/linux/ar71xx/files/arch/mips | |
parent | 4caa8d50add5cf72f6e2d5caa3ebb6aa2b9ae443 (diff) | |
download | upstream-59e7999a440be5cb229cba87b3a0fb8392b094da.tar.gz upstream-59e7999a440be5cb229cba87b3a0fb8392b094da.tar.bz2 upstream-59e7999a440be5cb229cba87b3a0fb8392b094da.zip |
ag71xx: replace delay with sleep calls
I don't see that we're in an atomic context so there's no need to
busy-wait. Therefore replace the delay with sleep calls.
See also Documentation/timers/timers-howto.txt. It states:
"In general, use of mdelay is discouraged and code should
be refactored to allow for the use of msleep."
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43539
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
0 files changed, 0 insertions, 0 deletions