[PATCH] mtd : fsl-quadspi: Let the clocks error path be clearer
Brian Norris
computersforpeace at gmail.com
Wed Oct 22 01:54:19 PDT 2014
On Fri, Oct 17, 2014 at 05:14:01PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
>
> 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 <fabio.estevam at freescale.com>
Pushed to l2-mtd.git.
Brian
More information about the linux-mtd
mailing list