public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rajendra Nayak" <rnayak@ti.com>
To: linux-omap@vger.kernel.org
Subject: [PATCH 05/09] Prevents OFF transitions
Date: Tue, 8 Jul 2008 17:09:28 +0530	[thread overview]
Message-ID: <030c01c8e0ef$47c04e50$68bf18ac@ent.ti.com> (raw)

This is a temp patch needed only till OFF mode is implemented.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>


---
 arch/arm/mach-omap2/resource34xx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-omap-2.6/arch/arm/mach-omap2/resource34xx.c
===================================================================
--- linux-omap-2.6.orig/arch/arm/mach-omap2/resource34xx.c	2008-07-07 10:22:52.050624622 +0530
+++ linux-omap-2.6/arch/arm/mach-omap2/resource34xx.c	2008-07-07 10:23:07.006143844 +0530
@@ -130,13 +130,13 @@ int set_pd_latency(struct shared_resourc
 				omap2_clkdm_wakeup(pwrdm->pwrdm_clkdms[i]);
 			}
 			pwrdm_set_next_pwrst(pwrdm, PWRDM_POWER_ON);
-			pwrdm_set_next_pwrst(pwrdm, pd_lat_level);
+			pwrdm_set_next_pwrst(pwrdm, PWRDM_POWER_RET);
 			for (i = 0; pwrdm->pwrdm_clkdms[i]; i++) {
 				omap2_clkdm_sleep(pwrdm->pwrdm_clkdms[i]);
 				omap2_clkdm_allow_idle(pwrdm->pwrdm_clkdms[i]);
 			}
 		} else
-			pwrdm_set_next_pwrst(pwrdm, pd_lat_level);
+			pwrdm_set_next_pwrst(pwrdm, PWRDM_POWER_RET);
 		break;
 	case PWRDM_POWER_ON:
 		pwrdm_set_next_pwrst(pwrdm, PWRDM_POWER_ON);


                 reply	other threads:[~2008-07-08 11:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='030c01c8e0ef$47c04e50$68bf18ac@ent.ti.com' \
    --to=rnayak@ti.com \
    --cc=linux-omap@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox