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 4888203b2dbc..a9b9a277e00c 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -1971,7 +1971,7 @@ static ssize_t snd_timer_user_read(struct file *file, char __user *buffer,
1971 spin_lock_irq(&tu->qlock); 1971 spin_lock_irq(&tu->qlock);
1972 while ((long)count - result >= unit) { 1972 while ((long)count - result >= unit) {
1973 while (!tu->qused) { 1973 while (!tu->qused) {
1974 wait_queue_t wait; 1974 wait_queue_entry_t wait;
1975 1975
1976 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { 1976 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) {
1977 err = -EAGAIN; 1977 err = -EAGAIN;