ASoC: Replace BUG() with WARN()
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2013 10:07:19 +0000 (11:07 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 19:55:21 +0000 (19:55 +0000)
commita6ed0608bd289b45a9e42e3b0f33ff55bdac9b0f
treed7af8258734c8a3b84e0bb3dffb573ad2469c297
parent9a743400a032766a2b79c88233ea3f6430a59b86
ASoC: Replace BUG() with WARN()

BUG() used in the driver is just to spit the stack trace on buggy
points, not really needed to stop the whole operation.  For that
purpose, it'd be more convenient to use WARN() instead with more
error information.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-cache.c
sound/soc/soc-dapm.c