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>
This commit is contained in:
parent
bc66468cee
commit
efec381ced
@ -1246,6 +1246,7 @@ static int __devinit nmk_gpio_probe(struct platform_device *dev)
|
|||||||
ret = PTR_ERR(clk);
|
ret = PTR_ERR(clk);
|
||||||
goto out_unmap;
|
goto out_unmap;
|
||||||
}
|
}
|
||||||
|
clk_prepare(clk);
|
||||||
|
|
||||||
nmk_chip = kzalloc(sizeof(*nmk_chip), GFP_KERNEL);
|
nmk_chip = kzalloc(sizeof(*nmk_chip), GFP_KERNEL);
|
||||||
if (!nmk_chip) {
|
if (!nmk_chip) {
|
||||||
|
Loading…
Reference in New Issue
Block a user