diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2007-07-16 11:01:30 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 11:11:54 +0200 |
commit | 7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890 (patch) | |
tree | 0066624778782a064a472e959132238c39a59e50 /block/noop-iosched.c | |
parent | c28054d4b31d78272f65c0d11db0796f50fb9569 (diff) | |
download | kernel_samsung_tuna-7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890.zip kernel_samsung_tuna-7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890.tar.gz kernel_samsung_tuna-7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890.tar.bz2 |
[ALSA] timer: check for incorrect device state in non-debug compiles, too
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>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions