aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/timer.c')
-rw-r--r--sound/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/timer.c b/sound/core/timer.c
index cd67d1c12cf1..884c3066b028 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -1964,7 +1964,7 @@ static ssize_t snd_timer_user_read(struct file *file, char __user *buffer,
1964 spin_lock_irq(&tu->qlock); 1964 spin_lock_irq(&tu->qlock);
1965 while ((long)count - result >= unit) { 1965 while ((long)count - result >= unit) {
1966 while (!tu->qused) { 1966 while (!tu->qused) {
1967 wait_queue_t wait; 1967 wait_queue_entry_t wait;
1968 1968
1969 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { 1969 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
1970 err = -EAGAIN; 1970 err = -EAGAIN;