diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2012-06-06 20:50:41 (GMT) |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-06-12 10:57:07 (GMT) |
commit | efec381ced2c0416c3765abce076896cf464dc0c (patch) | |
tree | 4cc2380934fccf4874a3be1abc5824e2a2a3d7e4 /drivers/pinctrl/pinctrl-nomadik.c | |
parent | bc66468cee4c23856b2e51d711e62e4ef773001a (diff) | |
download | linux-efec381ced2c0416c3765abce076896cf464dc0c.tar.xz |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-nomadik.c')
-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 b26395d..ba7122f 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) { |