Message ID | 1290791163-21190-1-git-send-email-segoon@openwall.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4770ffe2cb7c22af687716c72d35614aabf54dc4 |
Delegated to: | Tony Lindgren |
Headers | show |
diff --git a/arch/arm/plat-omap/counter_32k.c b/arch/arm/plat-omap/counter_32k.c index 155fe43..c1e0d00 100644 --- a/arch/arm/plat-omap/counter_32k.c +++ b/arch/arm/plat-omap/counter_32k.c @@ -164,7 +164,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,