diff options
author | Tony Lindgren <tony@atomide.com> | 2013-04-03 13:32:47 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-04-03 13:32:47 -0400 |
commit | 43231b5be657fde1c4ced180d829bbd59ceef9ad (patch) | |
tree | c20d5c79e63533abf71ab8f89598eb777e9bee2b /arch/arm/mach-omap2/omap_hwmod.c | |
parent | 105612489bf59386b46b3f9f034e03f70e57aee6 (diff) | |
parent | 71856843fb1d8ee455a4c1a60696c74afa4809e5 (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/omap_hwmod.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c index e5cafed8ef25..2520d46c8508 100644 --- a/arch/arm/mach-omap2/omap_hwmod.c +++ b/arch/arm/mach-omap2/omap_hwmod.c | |||
@@ -1659,7 +1659,7 @@ static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) | |||
1659 | return -ENOSYS; | 1659 | return -ENOSYS; |
1660 | 1660 | ||
1661 | ret = _lookup_hardreset(oh, name, &ohri); | 1661 | ret = _lookup_hardreset(oh, name, &ohri); |
1662 | if (IS_ERR_VALUE(ret)) | 1662 | if (ret < 0) |
1663 | return ret; | 1663 | return ret; |
1664 | 1664 | ||
1665 | if (oh->clkdm) { | 1665 | if (oh->clkdm) { |
@@ -2409,7 +2409,7 @@ static int __init _init(struct omap_hwmod *oh, void *data) | |||
2409 | _init_mpu_rt_base(oh, NULL); | 2409 | _init_mpu_rt_base(oh, NULL); |
2410 | 2410 | ||
2411 | r = _init_clocks(oh, NULL); | 2411 | r = _init_clocks(oh, NULL); |
2412 | if (IS_ERR_VALUE(r)) { | 2412 | if (r < 0) { |
2413 | WARN(1, "omap_hwmod: %s: couldn't init clocks\n", oh->name); | 2413 | WARN(1, "omap_hwmod: %s: couldn't init clocks\n", oh->name); |
2414 | return -EINVAL; | 2414 | return -EINVAL; |
2415 | } | 2415 | } |