Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 328445
b: refs/heads/master
c: 6ab49f4
h: refs/heads/master
i:
  328443: 9d8af26
v: v3
  • Loading branch information
Julia Lawall authored and Linus Walleij committed Sep 1, 2012
1 parent 1be0da8 commit d85cdda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce6b658dc040cf4aa3a30f56115e81d15d91596e
refs/heads/master: 6ab49f4201676a96f62d0f327206a28dc02f2e2f
9 changes: 1 addition & 8 deletions trunk/drivers/gpio/gpio-pxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,19 +620,12 @@ static int __devinit pxa_gpio_probe(struct platform_device *pdev)
iounmap(gpio_reg_base);
return PTR_ERR(clk);
}
ret = clk_prepare(clk);
ret = clk_prepare_enable(clk);
if (ret) {
clk_put(clk);
iounmap(gpio_reg_base);
return ret;
}
ret = clk_enable(clk);
if (ret) {
clk_unprepare(clk);
clk_put(clk);
iounmap(gpio_reg_base);
return ret;
}

/* Initialize GPIO chips */
info = dev_get_platdata(&pdev->dev);
Expand Down

0 comments on commit d85cdda

Please sign in to comment.