ASoC: wm9713: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:39:59 +0000 (18:39 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 6 Nov 2013 10:27:03 +0000 (10:27 +0000)
commitfb2e3e70193f6757e536dfdecf21be2e6ee308d4
treee212a2b12d26dc3bd8afadfed5ea5862df15a910
parent4c8d620ac9e3aea0a0c2edf36851b59b44bd12f2
ASoC: wm9713: 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/codecs/wm9713.c