summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap_hwmod.c
diff options
context:
space:
mode:
authorBenoit Cousson <b-cousson@ti.com>2010-05-20 12:31:09 -0600
committerPaul Walmsley <paul@pwsan.com>2010-05-20 12:31:09 -0600
commit33f7ec81fb3e525eec0575f33dbab02240eda6d4 (patch)
tree4f6f2bcaee086b5c60be7438dd138e6c0380507a /arch/arm/mach-omap2/omap_hwmod.c
parent9a23dfe12806920a8dfadec5ea5b83e5ca5378c9 (diff)
downloadblackbird-obmc-linux-33f7ec81fb3e525eec0575f33dbab02240eda6d4.tar.gz
blackbird-obmc-linux-33f7ec81fb3e525eec0575f33dbab02240eda6d4.zip
OMAP4: hwmod: Replace OCPIF_HAS_IDLEST by HWMOD_NO_IDLEST
Some initiator modules in OMAP2 & 3 does not have IDLEST bit, in that case we cannot detect the module readiness by polling that bit and must exist the function immediately assuming that the module is ready. The previous flag was affected to the OCP interface. While it is technically true that the idlest is related to the L4 slave interface of the module, the PRCM status belong to the module. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.c')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index 4a134c4d2271..6459d07785b7 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -808,7 +808,7 @@ static int _wait_target_ready(struct omap_hwmod *oh)
os = *oh->slaves + oh->_mpu_port_index;
- if (!(os->flags & OCPIF_HAS_IDLEST))
+ if (oh->flags & HWMOD_NO_IDLEST)
return 0;
/* XXX check module SIDLEMODE */
OpenPOWER on IntegriCloud