aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files/arch/mips/ath79
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-07 16:53:09 +0000
committerJohn Crispin <blogic@openwrt.org>2014-12-07 16:53:09 +0000
commitbeecdee389cc9af001d55e2a838f8cffd1922af2 (patch)
tree5b0edaad0d483ec9cfbb9f3a68bbffcf9e3fec09 /target/linux/ar71xx/files/arch/mips/ath79
parent09011d5a288a65e4625abab85e2e362c6b6cd49c (diff)
downloadupstream-beecdee389cc9af001d55e2a838f8cffd1922af2.tar.gz
upstream-beecdee389cc9af001d55e2a838f8cffd1922af2.tar.bz2
upstream-beecdee389cc9af001d55e2a838f8cffd1922af2.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43539 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79')
0 files changed, 0 insertions, 0 deletions