[alsa-devel] [PATCH 13/31] ASoC: wm_adsp: Fix BUG_ON() and WARN_ON() usages

Mark Brown broonie at kernel.org
Thu Nov 7 12:38:45 CET 2013


On Tue, Nov 05, 2013 at 06:40:00PM +0100, Takashi Iwai wrote:
> BUG_ON() is rather useless for debugging as it leads to panic().
> Also, the driver triggers BUG_ON() in the caller side, which can be
> reduced easily by putting an assert in the callee side.

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20131107/15fbec7f/attachment.sig>


More information about the Alsa-devel mailing list