From: Jaroslav Kysela Date: Mon, 16 May 2005 11:51:39 +0000 (+0200) Subject: [ALSA] fixed PAUSE ioctl for user space interface X-Git-Tag: v2.6.13-rc1~68^2~618 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d138b44589cc180418f5a20cb0ecfe338123d86c;p=linux-2.6 [ALSA] fixed PAUSE ioctl for user space interface Timer Midlevel - fixed traditional cut-n-paste error Signed-off-by: Jaroslav Kysela --- diff --git a/sound/core/timer.c b/sound/core/timer.c index 305e39d740..cb011a1d4c 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 {