From: Fabio Estevam Date: Wed, 10 Jul 2013 03:16:28 +0000 (-0300) Subject: spi: spi-mxs: Check the return value from clk_prepare_enable() X-Git-Tag: v3.12-rc1~192^2~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c4a39afaa2ef8f96b7bda1ffb5deef0e98ad189;p=pandora-kernel.git 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 Acked-by: Marek Vasut Signed-off-by: Mark Brown --- Reading git-diff-tree failed