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