summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-08-14 07:51:57 +0200
committerJaroslav Kysela <perex@perex.cz>2008-08-15 11:48:04 +0200
commit0072889a556373b12b687107ac6b24d2ea961ddf (patch)
treed8c356e5523cf04fe17e487584fec4672a741464 /sound/core
parent7a9b8063cf7d78d7de4f2555357101087548c699 (diff)
downloadlinux-next-0072889a556373b12b687107ac6b24d2ea961ddf.tar.gz
ALSA: fix a typo during snd_assert() removal
Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/timer.c b/sound/core/timer.c
index b8ee49c1f855..e582face89d2 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 */