From: Fabio Estevam Date: Thu, 11 Jul 2013 04:26:49 +0000 (-0300) Subject: spi: spi-imx: Check the return value from clk_prepare_enable() X-Git-Tag: v3.12-rc1~192^2~23^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83174626ccf897827d2c49f26d9b0b7f74af85cc;p=pandora-kernel.git spi: spi-imx: 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, fix the order of clk_disable_unprepare calls: clk_ipg should be disabled first, followed by clk_per. Signed-off-by: Fabio Estevam Signed-off-by: Mark Brown --- Reading git-diff-tree failed