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