projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc66468
)
pinctrl: nomadik: add clk_prepare() call
author
Linus Walleij
<linus.walleij@linaro.org>
Wed, 6 Jun 2012 20:50:41 +0000
(22:50 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Tue, 12 Jun 2012 10:57:07 +0000
(12:57 +0200)
We now strictly require clk_prepare() calls to be issued before
any clk_enable() calls.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-nomadik.c
b/drivers/pinctrl/pinctrl-nomadik.c
index b26395d16347db6dcecf40d8aa438d2409c02bd3..ba7122ff480af0e252df533246ceb5be404f094f 100644
(file)
--- a/
drivers/pinctrl/pinctrl-nomadik.c
+++ b/
drivers/pinctrl/pinctrl-nomadik.c
@@
-1246,6
+1246,7
@@
static int __devinit nmk_gpio_probe(struct platform_device *dev)
ret = PTR_ERR(clk);
goto out_unmap;
}
+ clk_prepare(clk);
nmk_chip = kzalloc(sizeof(*nmk_chip), GFP_KERNEL);
if (!nmk_chip) {