aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2005-05-16 13:51:39 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 10:10:57 +0200
commitd138b44589cc180418f5a20cb0ecfe338123d86c (patch)
treec9ab9d8bc3acb581121714dc6e631cb5f50b3623 /sound
parent8c50b37c04a026ab6641ecb7eaf0fd479798e8b8 (diff)
[ALSA] fixed PAUSE ioctl for user space interface
Timer Midlevel - fixed traditional cut-n-paste error Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound')
-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 305e39d7409..cb011a1d4c3 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -1687,7 +1687,7 @@ static int snd_timer_user_pause(struct file *file)
tu = file->private_data;
snd_assert(tu->timeri != NULL, return -ENXIO);
- return (err = snd_timer_continue(tu->timeri)) < 0 ? err : 0;
+ return (err = snd_timer_pause(tu->timeri)) < 0 ? err : 0;
}
enum {