Explorar o código

ALSA: fix a typo during snd_assert() removal

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Takashi Iwai %!s(int64=17) %!d(string=hai) anos
pai
achega
0072889a55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      sound/core/timer.c

+ 1 - 1
sound/core/timer.c

@@ -306,7 +306,7 @@ int snd_timer_close(struct snd_timer_instance *timeri)
 	struct snd_timer *timer = NULL;
 	struct snd_timer_instance *slave, *tmp;
 
-	if (snd_BUG_ON(!timer))
+	if (snd_BUG_ON(!timeri))
 		return -ENXIO;
 
 	/* force to stop the timer */