summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-08-14 05:51:57 (GMT)
committerJaroslav Kysela <perex@perex.cz>2008-08-15 09:48:04 (GMT)
commit0072889a556373b12b687107ac6b24d2ea961ddf (patch)
treed8c356e5523cf04fe17e487584fec4672a741464 /sound/core
parent7a9b8063cf7d78d7de4f2555357101087548c699 (diff)
downloadlinux-fsl-qoriq-0072889a556373b12b687107ac6b24d2ea961ddf.tar.xz
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 b8ee49c..e582fac 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 */