Skip to content

Commit

Permalink
[ALSA] fixed PAUSE ioctl for user space interface
Browse files Browse the repository at this point in the history
Timer Midlevel
- fixed traditional cut-n-paste error

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
  • Loading branch information
Jaroslav Kysela committed May 29, 2005
1 parent 8c50b37 commit d138b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/core/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d138b44

Please sign in to comment.