Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223286
b: refs/heads/master
c: cb9675f
h: refs/heads/master
v: v3
  • Loading branch information
Vasiliy Kulikov authored and Tony Lindgren committed Dec 7, 2010
1 parent ff0590e commit 582814c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 859158bfab7e72af440622fb9731bcaef4e7d6dc
refs/heads/master: cb9675f3282f5565cc9e3698cc847355c1194871
3 changes: 2 additions & 1 deletion trunk/arch/arm/plat-omap/counter_32k.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <linux/init.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/err.h>

#include <plat/common.h>
#include <plat/board.h>
Expand Down Expand Up @@ -164,7 +165,7 @@ static int __init omap_init_clocksource_32k(void)
return -ENODEV;

sync_32k_ick = clk_get(NULL, "omap_32ksync_ick");
if (sync_32k_ick)
if (!IS_ERR(sync_32k_ick))
clk_enable(sync_32k_ick);

clocksource_32k.mult = clocksource_hz2mult(32768,
Expand Down

0 comments on commit 582814c

Please sign in to comment.