ASoC: blackfin: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:39:48 +0000 (18:39 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 6 Nov 2013 10:26:09 +0000 (10:26 +0000)
commitddb146da23cb08851fa418481dd84412f99eec1e
tree4b5827ace13bbb8d8ef8f51031931fdc9569c45d
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52
ASoC: blackfin: Use WARN_ON() instead of BUG_ON()

Use WARN_ON() and handle the error cases accordingly.

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