mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-16 21:35:07 +00:00
[ALSA] fixed PAUSE ioctl for user space interface
Timer Midlevel - fixed traditional cut-n-paste error Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
8c50b37c04
commit
d138b44589
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user