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