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