ASoC: max98088: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:39:49 +0000 (18:39 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 6 Nov 2013 10:26:14 +0000 (10:26 +0000)
commitbee026d0fe4bcc2b29e9279c319ed5e60a3bda97
tree53bbda0604a6d6802a00def993233c984b509b3b
parentddb146da23cb08851fa418481dd84412f99eec1e
ASoC: max98088: 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/max98088.c