aboutsummaryrefslogtreecommitdiffstats
path: root/sound/core/timer.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2005-05-16 07:51:39 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:10:57 -0400
commitd138b44589cc180418f5a20cb0ecfe338123d86c (patch)
treec9ab9d8bc3acb581121714dc6e631cb5f50b3623 /sound/core/timer.c
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/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 305e39d74092..cb011a1d4c3e 100644
--- a/sound/core/timer.c
+++ b/sound/core/timer.c
@@ -1687,7 +1687,7 @@ static int snd_timer_user_pause(struct file *file)
1687 1687
1688 tu = file->private_data; 1688 tu = file->private_data;
1689 snd_assert(tu->timeri != NULL, return -ENXIO); 1689 snd_assert(tu->timeri != NULL, return -ENXIO);
1690 return (err = snd_timer_continue(tu->timeri)) < 0 ? err : 0; 1690 return (err = snd_timer_pause(tu->timeri)) < 0 ? err : 0;
1691} 1691}
1692 1692
1693enum { 1693enum {