ASoC: sh: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:40:06 +0000 (18:40 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 19:55:17 +0000 (19:55 +0000)
commit5f29d4455992ab2edcaa377d4ef61b60240781ac
tree026c810bcd276ea70e2a7a3b715a3a2ff1a5b355
parent8b14719bebfe022f3637c323e76c88b2bc061a61
ASoC: sh: 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/siu_dai.c