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