소스 검색

[ALSA] fixed PAUSE ioctl for user space interface

Timer Midlevel
- fixed traditional cut-n-paste error

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Jaroslav Kysela 20 년 전
부모
커밋
d138b44589
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sound/core/timer.c

+ 1 - 1
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 {