Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323028
b: refs/heads/master
c: 59d1f5c
h: refs/heads/master
v: v3
  • Loading branch information
Pawel Moll authored and Dmitry Torokhov committed Sep 19, 2012
1 parent e38a317 commit 249da87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8669cf6793bb38307a30fb6b9565ddc8840ebd3f
refs/heads/master: 59d1f5c41a21f0d87973f2dedd40efd927a201d6
6 changes: 3 additions & 3 deletions trunk/drivers/input/serio/ambakmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ static int amba_kmi_open(struct serio *io)
unsigned int divisor;
int ret;

ret = clk_enable(kmi->clk);
ret = clk_prepare_enable(kmi->clk);
if (ret)
goto out;

Expand All @@ -92,7 +92,7 @@ static int amba_kmi_open(struct serio *io)
return 0;

clk_disable:
clk_disable(kmi->clk);
clk_disable_unprepare(kmi->clk);
out:
return ret;
}
Expand All @@ -104,7 +104,7 @@ static void amba_kmi_close(struct serio *io)
writeb(0, KMICR);

free_irq(kmi->irq, kmi);
clk_disable(kmi->clk);
clk_disable_unprepare(kmi->clk);
}

static int __devinit amba_kmi_probe(struct amba_device *dev,
Expand Down

0 comments on commit 249da87

Please sign in to comment.