ASoC: fsl: imx-audmux: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@freescale.com>
Sun, 21 Jul 2013 16:39:08 +0000 (13:39 -0300)
committerMark Brown <broonie@linaro.org>
Sun, 21 Jul 2013 23:58:36 +0000 (00:58 +0100)
commit72192366f4e1385fe6e44600aa5b75d0136e3d52
tree28d9e8abc89a7f43c412c465eaf4ad0fa65a46f8
parentf3142807fdb965a7ae1c3a8a6fd91ff92a8efa7a
ASoC: fsl: imx-audmux: 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-audmux.c