All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benoit Cousson <b-cousson@ti.com>
To: linux-omap@vger.kernel.org
Cc: Rajendra Nayak <rnayak@ti.com>, Benoit Cousson <b-cousson@ti.com>,
	Paul Walmsley <paul@pwsan.com>
Subject: [PATCH v2 4/6] OMAP: hwmod: Temporary disable dependency
Date: Wed, 12 May 2010 17:54:39 +0200	[thread overview]
Message-ID: <1273679681-27549-5-git-send-email-b-cousson@ti.com> (raw)
In-Reply-To: <1273679681-27549-1-git-send-email-b-cousson@ti.com>

From: Rajendra Nayak <rnayak@ti.com>

Dependency not supported yet, hence comment all dependency handling
code in hwmod.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
---
 arch/arm/mach-omap2/omap_hwmod.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
index 2fff39f..302f2c8 100644
--- a/arch/arm/mach-omap2/omap_hwmod.c
+++ b/arch/arm/mach-omap2/omap_hwmod.c
@@ -908,7 +908,9 @@ static int _enable(struct omap_hwmod *oh)
 
 	/* XXX mux balls */
 
+#if 0
 	_add_initiator_dep(oh, mpu_oh);
+#endif
 	_enable_clocks(oh);
 
 	r = _wait_target_ready(oh);
@@ -949,7 +951,9 @@ static int _idle(struct omap_hwmod *oh)
 
 	if (oh->class->sysc)
 		_sysc_idle(oh);
+#if 0
 	_del_initiator_dep(oh, mpu_oh);
+#endif
 	_disable_clocks(oh);
 
 	oh->_state = _HWMOD_STATE_IDLE;
@@ -1544,7 +1548,10 @@ struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh)
 int omap_hwmod_add_initiator_dep(struct omap_hwmod *oh,
 				 struct omap_hwmod *init_oh)
 {
+#if 0
 	return _add_initiator_dep(oh, init_oh);
+#endif
+	return 0;
 }
 
 /*
@@ -1569,7 +1576,10 @@ int omap_hwmod_add_initiator_dep(struct omap_hwmod *oh,
 int omap_hwmod_del_initiator_dep(struct omap_hwmod *oh,
 				 struct omap_hwmod *init_oh)
 {
+#if 0
 	return _del_initiator_dep(oh, init_oh);
+#endif
+	return 0;
 }
 
 /**
-- 
1.6.1.3


  parent reply	other threads:[~2010-05-12 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-12 15:54 [PATCH v2 0/6] OMAP: hwmod: Full data set for OMAP4430 ES1.0 Benoit Cousson
2010-05-12 15:54 ` [PATCH v2 1/6] OMAP4: hwmod: Add partial hwmod support " Benoit Cousson
2010-05-12 15:54 ` [PATCH v2 2/6] OMAP4: hwmod: Enable omap_hwmod build for OMAP4 Benoit Cousson
2010-05-12 15:54 ` [PATCH v2 3/6] OMAP4: hwmod: Enable omap_device " Benoit Cousson
2010-05-12 15:54 ` Benoit Cousson [this message]
2010-05-12 15:54 ` [PATCH v2 5/6] OMAP4: hwmod: Add remaining hwmod support for OMAP4430 ES1.0 Benoit Cousson
2010-05-12 15:54 ` [PATCH v2 6/6] OMAP: hwmod: Temp fixes to get hwmod registers work Benoit Cousson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1273679681-27549-5-git-send-email-b-cousson@ti.com \
    --to=b-cousson@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=paul@pwsan.com \
    --cc=rnayak@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.