aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/timer.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-04-03 10:32:47 -0700
committerTony Lindgren <tony@atomide.com>2013-04-03 10:32:47 -0700
commit43231b5be657fde1c4ced180d829bbd59ceef9ad (patch)
treec20d5c79e63533abf71ab8f89598eb777e9bee2b /arch/arm/mach-omap2/timer.c
parent105612489bf59386b46b3f9f034e03f70e57aee6 (diff)
parent71856843fb1d8ee455a4c1a60696c74afa4809e5 (diff)
Merge commit '7185684' into omap-for-v3.10/timer
Conflicts: arch/arm/plat-omap/dmtimer.c Resolve merge conflict in omap_device.c as per Lothar Waßmann <LW@KARO-electronics.de>.
Diffstat (limited to 'arch/arm/mach-omap2/timer.c')
-rw-r--r--arch/arm/mach-omap2/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index 773733fccd8..06cbb49cc97 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -288,7 +288,7 @@ static int __init omap_dm_timer_init_one(struct omap_dm_timer *timer,
r = -EINVAL;
} else {
r = clk_set_parent(timer->fclk, src);
- if (IS_ERR_VALUE(r))
+ if (r < 0)
pr_warn("%s: %s cannot set source\n",
__func__, oh->name);
clk_put(src);