projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebfd28
)
ARM: OMAP4: hwmod: drop extra cpu_is check from _wait_target_disable()
author
Kevin Hilman
<khilman@ti.com>
Mon, 18 Jun 2012 18:12:24 +0000
(12:12 -0600)
committer
Paul Walmsley
<paul@pwsan.com>
Mon, 18 Jun 2012 18:12:24 +0000
(12:12 -0600)
_omap4_wait_target_disable() is called only from inside _omap4_disable_module()
which is already protected by SoC specific checks. Remove the cpu_is check
here.
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/omap_hwmod.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/omap_hwmod.c
b/arch/arm/mach-omap2/omap_hwmod.c
index 634a79836c646cebded12c005633afbefe0eaa76..2b845836f7dcacc537b815c3585456afd268987f 100644
(file)
--- a/
arch/arm/mach-omap2/omap_hwmod.c
+++ b/
arch/arm/mach-omap2/omap_hwmod.c
@@
-823,9
+823,6
@@
static void _omap4_enable_module(struct omap_hwmod *oh)
*/
static int _omap4_wait_target_disable(struct omap_hwmod *oh)
{
- if (!cpu_is_omap44xx())
- return 0;
-
if (!oh)
return -EINVAL;