diff options
author | Lothar Waßmann <[email protected]> | 2012-12-06 08:42:27 +0100 |
---|---|---|
committer | Artem Bityutskiy <[email protected]> | 2012-12-10 16:45:04 +0200 |
commit | c10d8ee3feaf725007e515b5f2972dffaa793f9a (patch) | |
tree | 0bd5b6fc8f633b00b3ef6e88d69fc91254759328 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | 5346c27c5fed6b30aff35e1fcb595625097e646c (diff) |
mtd: mxc_nand: fix unbalanced clk_disable() in error path
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()
Signed-off-by: Lothar Waßmann <[email protected]>
Acked-by: Sascha Hauer <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions