mirror of
https://github.com/torvalds/linux.git
synced 2026-09-21 02:13:52 -04: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user