ASoC: wm8904: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:39:58 +0000 (18:39 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 6 Nov 2013 10:26:59 +0000 (10:26 +0000)
commit4c8d620ac9e3aea0a0c2edf36851b59b44bd12f2
tree0355b27fb276925782697d95e3fb322b855dc368
parent246e884b82305c5669a892c04e67864f4e7c10d5
ASoC: wm8904: 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/wm8904.c