diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2007-07-16 05:01:30 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:11:54 -0400 |
commit | 7c64ec343a7d7b2d73b19e6bb8d9fd15f0462890 (patch) | |
tree | 0066624778782a064a472e959132238c39a59e50 /sound/last.c | |
parent | c28054d4b31d78272f65c0d11db0796f50fb9569 (diff) |
[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 'sound/last.c')
0 files changed, 0 insertions, 0 deletions