ASoC: rcar: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:40:05 +0000 (18:40 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 19:55:16 +0000 (19:55 +0000)
commit8b14719bebfe022f3637c323e76c88b2bc061a61
treea4284d9ca43a0c4b7572547d6812528b75d1a9ac
parent4a318f1e6c4331633a91ad67b782860c76d8894b
ASoC: rcar: Use WARN_ON() instead of BUG_ON()

Use WARN_ON() and handle the error cases accordingly.

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/scu.c
sound/soc/sh/rcar/ssi.c