diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2015-08-17 05:59:47 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2015-08-19 08:40:26 (GMT) |
commit | e4e1899aaec0370aea6b98597ee6289d60544ae2 (patch) | |
tree | a25d5c833d1f0d00a5ab87e2c50c205ee11e765e /sound | |
parent | e619cd3d618672bea8602d682ea63b42a1faf1bc (diff) | |
download | linux-e4e1899aaec0370aea6b98597ee6289d60544ae2.tar.xz |
s390/zcrypt: use msleep() instead of mdelay()
There is no need to busy loop and monopolize a cpu for up to ~2 seconds.
The code in question that calls mdelay() is preemptible anyway, so better
let the kernel schedule different processes than just looping and causing
unnecessary delays.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions