ASoC: fsl_esai: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 10 Feb 2014 18:01:28 +0000 (16:01 -0200)
committerMark Brown <broonie@linaro.org>
Tue, 11 Feb 2014 12:54:28 +0000 (12:54 +0000)
commit33529ec94f7cb25f6c98908eefde42a1e8d4e67a
tree1aaf5d758be7ed04e353e3d6c8a22c3e41804d46
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: fsl_esai: 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_esai.c