aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/seq/seq_lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/seq/seq_lock.c')
-rw-r--r--sound/core/seq/seq_lock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/core/seq/seq_lock.c b/sound/core/seq/seq_lock.c
index b09cee058fa7..a837a94b2d2a 100644
--- a/sound/core/seq/seq_lock.c
+++ b/sound/core/seq/seq_lock.c
@@ -39,8 +39,7 @@ void snd_use_lock_sync_helper(snd_use_lock_t *lockp, const char *file, int line)
snd_printk(KERN_WARNING "seq_lock: timeout [%d left] in %s:%d\n", atomic_read(lockp), file, line);
break;
}
- set_current_state(TASK_UNINTERRUPTIBLE);
- schedule_timeout(1);
+ schedule_timeout_uninterruptible(1);
max_count--;
}
}