From: Fabio Estevam Date: Fri, 17 Oct 2014 20:14:01 +0000 (-0300) Subject: mtd: fsl-quadspi: Let the clocks error path be clearer X-Git-Tag: omap-for-v3.19/fixes-rc1~56^2~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77adc085aee0c96dc3536403b197707316c7c241;p=pandora-kernel.git mtd: fsl-quadspi: Let the clocks error path be clearer When clk_prepare_enable(q->clk) fails it is clearer to disable the previous acquired clock (q->clk_en) in the error path rather than doing it locally. So disable q->clk_en in the error path only. Signed-off-by: Fabio Estevam Acked-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed