From: Takashi Iwai Date: Thu, 14 Aug 2008 05:51:57 +0000 (+0200) Subject: ALSA: fix a typo during snd_assert() removal X-Git-Tag: v2.6.28-rc1~720^2~189 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0072889a556373b12b687107ac6b24d2ea961ddf;p=linux-2.6-omap-h63xx.git ALSA: fix a typo during snd_assert() removal Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/core/timer.c b/sound/core/timer.c index b8ee49c1f85..e582face89d 100644 --- a/sound/core/timer.c +++ b/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 */