ASoC: imx-ssi: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 4 Dec 2013 22:27:44 +0000 (20:27 -0200)
committerMark Brown <broonie@linaro.org>
Thu, 5 Dec 2013 00:01:18 +0000 (00:01 +0000)
commit24f4bd57a7b24d10e52a3807f88adec79824e5d8
tree6381a2fd2fd9fca4cda7530ba1f2f48e97767578
parent07a9483aaca5d3b5de8ee824ee576321d3f8b4c6
ASoC: imx-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/imx-ssi.c