projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f63f6
)
mtd: s3c2410: Move to clk_prepare_enable/clk_disable_unprepare
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Mon, 30 Jun 2014 19:12:16 +0000
(22:12 +0300)
committer
Brian Norris
<computersforpeace@gmail.com>
Wed, 2 Jul 2014 22:19:22 +0000
(15:19 -0700)
Use clk_prepare_enable/clk_disable_unprepare to make the driver
work properly with common clock framework.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/s3c2410.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/nand/s3c2410.c
b/drivers/mtd/nand/s3c2410.c
index 79acbb8691b59c94131944f10d80c4103fbc9594..6b97bf17ce5d5e49a8ba0c45d4a5197f7dcb7b6b 100644
(file)
--- 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,
if (info->clk_state == CLOCK_ENABLE) {
if (new_state != CLOCK_ENABLE)
- clk_disable(info->clk);
+ clk_disable
_unprepare
(info->clk);
} else {
if (new_state == CLOCK_ENABLE)
- clk_enable(info->clk);
+ clk_
prepare_
enable(info->clk);
}
info->clk_state = new_state;