Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efec381c authored by Linus Walleij's avatar Linus Walleij
Browse files

pinctrl: nomadik: add clk_prepare() call



We now strictly require clk_prepare() calls to be issued before
any clk_enable() calls.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent bc66468c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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) {