ASoC: fsl: fsl_ssi: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 17 Jul 2013 05:00:39 +0000 (02:00 -0300)
committerMark Brown <broonie@linaro.org>
Wed, 17 Jul 2013 10:03:54 +0000 (11:03 +0100)
commitede32d3a237e102884cd5b223aba9afe3e6fb679
tree4e944046568b2a0b284e0d192c9df83648eec53f
parentb0a4747a5d6498d37ebb6e4ce53dd5d89c51ab51
ASoC: fsl: fsl_ssi: Check the return value from clk_prepare_enable()

clk_prepare_enable() may fail, so let's check its return value and propagate it
in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_ssi.c