ASoC: s6000: Use WARN_ON() instead of BUG_ON()
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2013 17:40:04 +0000 (18:40 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 7 Nov 2013 19:55:16 +0000 (19:55 +0000)
commit4a318f1e6c4331633a91ad67b782860c76d8894b
treec4ee56f6f60519447cbb1d5ed5e2c7f892bbf188
parent8a2e2c86e979a9b3a53e880be65d5fd12820b932
ASoC: s6000: 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/s6000/s6000-pcm.c