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