[ALSA] timer: check for incorrect device state in non-debug compiles, too
authorClemens Ladisch <clemens@ladisch.de>
Mon, 16 Jul 2007 09:01:30 +0000 (11:01 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:11:54 +0000 (11:11 +0200)
Convert the snd_assert()s to simple if()s to prevent crashes when one of
the timer instance ioctls is called before the file is bound to a timer
device.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

No differences found