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>
This commit is contained in:
committed by
Paul Walmsley
parent
9a23dfe128
commit
33f7ec81fb
@@ -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 */
|
||||
|
Reference in New Issue
Block a user