]> err.no Git - linux-2.6/commitdiff
[ALSA] fixed PAUSE ioctl for user space interface
authorJaroslav Kysela <perex@suse.cz>
Mon, 16 May 2005 11:51:39 +0000 (13:51 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:10:57 +0000 (10:10 +0200)
Timer Midlevel
- fixed traditional cut-n-paste error

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/timer.c

index 305e39d74092e41942c974b0353d9b987eac2896..cb011a1d4c3ea370f77c454fd5921ddcce841f81 100644 (file)
@@ -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 {