Re: [PATCH 1/2] mtd: mxc_nand: fix unbalanced clk_disable() inerror path
From: Artem Bityutskiy
Date: Mon Dec 10 2012 - 09:44:54 EST
On Thu, 2012-12-06 at 08:42 +0100, Lothar WaÃmann wrote:
> If nand_scan_ident() or nand_scan_tail() fails, the NAND chip may have
> been deselected and the clock already disabled. Thus, check 'clk_act'
> in the error path to decide whether the clock still needs to be
> disabled.
>
> This fixes a:
> |WARNING: at drivers/clk/clk.c:472 __clk_disable+0x3c/0x78()
Pushed to l2-mtd.git, thanks!
--
Best Regards,
Artem Bityutskiy
Attachment:
signature.asc
Description: This is a digitally signed message part