commit | 9c4a39afaa2ef8f96b7bda1ffb5deef0e98ad189 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Jul 10 00:16:28 2013 -0300 |
committer | Mark Brown <broonie@linaro.org> | Mon Jul 15 11:38:42 2013 +0100 |
tree | ab349d7dfec34a3532568350a3b96a0f222cbf42 | |
parent | e11933f626c0a1333ec118d35a0c6c90d576b707 [diff] |
spi: spi-mxs: 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. While at it, rename 'out_free_dma' to 'out_disable_clk' so that it can properly describe its purpose. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de> Signed-off-by: Mark Brown <broonie@linaro.org>