projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d73d65f
)
OMAP2+: hwmod: Fix what _init_clock returns
author
Rajendra Nayak
<rnayak@ti.com>
Wed, 16 Feb 2011 12:11:24 +0000
(12:11 +0000)
committer
Paul Walmsley
<paul@pwsan.com>
Thu, 10 Mar 2011 10:23:55 +0000
(
03:23
-0700)
_init_clock always returns 0 and does
not propogate the error (in case of failure)
back to the caller, causing _init_clocks to
fail silently.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Acked-by: BenoƮt Cousson <b-cousson@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod.c
b/arch/arm/mach-omap2/omap_hwmod.c
index b18c36b1060f40c3e0858b4028db0eb0bfe4c0f6..2146d9aa507a3feec9a29ee6c4144f3085c4a5a9 100644
(file)
--- a/
arch/arm/mach-omap2/omap_hwmod.c
+++ b/
arch/arm/mach-omap2/omap_hwmod.c
@@
-926,7
+926,7
@@
static int _init_clocks(struct omap_hwmod *oh, void *data)
if (!ret)
oh->_state = _HWMOD_STATE_CLKS_INITED;
- return
0
;
+ return
ret
;
}
/**