diff options
-rw-r--r-- | drivers/mtd/nand/s3c2410.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 79acbb8691b5..6b97bf17ce5d 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -208,10 +208,10 @@ static void s3c2410_nand_clk_set_state(struct s3c2410_nand_info *info, | |||
208 | 208 | ||
209 | if (info->clk_state == CLOCK_ENABLE) { | 209 | if (info->clk_state == CLOCK_ENABLE) { |
210 | if (new_state != CLOCK_ENABLE) | 210 | if (new_state != CLOCK_ENABLE) |
211 | clk_disable(info->clk); | 211 | clk_disable_unprepare(info->clk); |
212 | } else { | 212 | } else { |
213 | if (new_state == CLOCK_ENABLE) | 213 | if (new_state == CLOCK_ENABLE) |
214 | clk_enable(info->clk); | 214 | clk_prepare_enable(info->clk); |
215 | } | 215 | } |
216 | 216 | ||
217 | info->clk_state = new_state; | 217 | info->clk_state = new_state; |