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