ASoC: pxa: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:40:03 +0000 (18:40 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 19:55:15 +0000 (19:55 +0000)
commit8a2e2c86e979a9b3a53e880be65d5fd12820b932
tree2a0b3503342b657593f8a9ae35b5b1a494eb7d68
parent96b61bc546519ae90317980294c161c86bcd140e
ASoC: pxa: 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/pxa/pxa2xx-i2s.c