diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-06-06 22:50:41 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-06-12 12:57:07 +0200 |
commit | efec381ced2c0416c3765abce076896cf464dc0c (patch) | |
tree | 4cc2380934fccf4874a3be1abc5824e2a2a3d7e4 | |
parent | bc66468cee4c23856b2e51d711e62e4ef773001a (diff) |
pinctrl: nomadik: add clk_prepare() call
We now strictly require clk_prepare() calls to be issued before
any clk_enable() calls.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/pinctrl/pinctrl-nomadik.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c index b26395d1634..ba7122ff480 100644 --- 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) { |