Sfoglia il codice sorgente

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 17 anni fa
parent
commit
0072889a55
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 */