]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/core/timer.c
ALSA: fix a typo during snd_assert() removal
[linux-2.6-omap-h63xx.git] / 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 */