Revision 5ef03460a6ffc1d3ee6b6f2abc6765d3e224cf89 authored by Takashi Iwai on 08 August 2008, 15:06:01 UTC, committed by Jaroslav Kysela on 13 August 2008, 09:46:32 UTC
Introduced snd_BUG_ON() macro as a replacement of snd_assert() macro.
snd_assert() is pretty ugly as it has the control flow in its argument.
OTOH, snd_BUG_ON() behaves like a normal conditional, thus it's much
easier to read the flow.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
1 parent 3caf8c0
History

back to top