Skip to content
Snippets Groups Projects
Commit 59e7999a authored by John Crispin's avatar John Crispin
Browse files

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 43539
parent 4caa8d50
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment