ALSA: fix a typo during snd_assert() removal
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Aug 2008 05:51:57 +0000 (07:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 15 Aug 2008 09:48:04 +0000 (11:48 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/core/timer.c

index b8ee49c1f8552a1b44394d2b0baf3b4e3ed10f2a..e582face89d2c463aeb64ed0ee2001d738b54b5c 100644 (file)
@@ -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 */