All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: linux-omap@vger.kernel.org
Cc: Sanjeev Premi <premi@ti.com>
Subject: [PATCH 05/13] OMAP3: PM: Remove duplicate code blocks
Date: Fri,  8 Jan 2010 09:59:23 -0800	[thread overview]
Message-ID: <1262973571-25796-6-git-send-email-khilman@deeprootsystems.com> (raw)
In-Reply-To: <1262973571-25796-5-git-send-email-khilman@deeprootsystems.com>

From: Sanjeev Premi <premi@ti.com>

This patch removes code blocks that are repeated
in function prcm_setup_regs().

Signed-off-by: Sanjeev Premi <premi@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
 arch/arm/mach-omap2/pm34xx.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index af83555..d6cab33 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -910,24 +910,6 @@ static void __init prcm_setup_regs(void)
 	/* Clear any pending PRCM interrupts */
 	prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
 
-	/* Don't attach IVA interrupts */
-	prm_write_mod_reg(0, WKUP_MOD, OMAP3430_PM_IVAGRPSEL);
-	prm_write_mod_reg(0, CORE_MOD, OMAP3430_PM_IVAGRPSEL1);
-	prm_write_mod_reg(0, CORE_MOD, OMAP3430ES2_PM_IVAGRPSEL3);
-	prm_write_mod_reg(0, OMAP3430_PER_MOD, OMAP3430_PM_IVAGRPSEL);
-
-	/* Clear any pending 'reset' flags */
-	prm_write_mod_reg(0xffffffff, MPU_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, CORE_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, OMAP3430_PER_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, OMAP3430_EMU_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, OMAP3430_NEON_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, OMAP3430_DSS_MOD, RM_RSTST);
-	prm_write_mod_reg(0xffffffff, OMAP3430ES2_USBHOST_MOD, RM_RSTST);
-
-	/* Clear any pending PRCM interrupts */
-	prm_write_mod_reg(0, OCP_MOD, OMAP3_PRM_IRQSTATUS_MPU_OFFSET);
-
 	omap3_iva_idle();
 	omap3_d2d_idle();
 }
-- 
1.6.6.rc2.1.g42108


  reply	other threads:[~2010-01-08 17:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-08 17:59 [PATCH 00/13] OMAP PM fixes for 2.6.33-rc Kevin Hilman
2010-01-08 17:59 ` [PATCH 01/13] OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer Kevin Hilman
2010-01-08 17:59   ` [PATCH 02/13] OMAP3: PM: Ack pending interrupts before entering suspend Kevin Hilman
2010-01-08 17:59     ` [PATCH 03/13] OMAP3: PM: Enable system control module autoidle Kevin Hilman
2010-01-08 17:59       ` [PATCH 04/13] OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI Kevin Hilman
2010-01-08 17:59         ` Kevin Hilman [this message]
2010-01-08 17:59           ` [PATCH 06/13] OMAP3: CPUidle: Fixed timer resolution Kevin Hilman
2010-01-08 17:59             ` [PATCH 07/13] OMAP3: Fixed ARM aux ctrl register save/restore Kevin Hilman
2010-01-08 17:59               ` [PATCH 08/13] OMAP3: PM: Removing redundant and potentially dangerous PRCM configration Kevin Hilman
2010-01-08 17:59                 ` [PATCH 09/13] OMAP3: PM debug: fix build error when !CONFIG_DEBUG_FS Kevin Hilman
2010-01-08 17:59                   ` [PATCH 10/13] OMAP3: PM: Enable wake-up from McBSP2, 3 and 4 modules Kevin Hilman
2010-01-08 17:59                     ` [PATCH 11/13] OMAP: omap3_pm_get_suspend_state() error ignored in pwrdm_suspend_get() Kevin Hilman
2010-01-08 17:59                       ` [PATCH 12/13] OMAP3: PM: Force write last pad config register into save area Kevin Hilman
2010-01-08 17:59                         ` [PATCH 13/13] OMAP: timekeeping: time should not stop during suspend Kevin Hilman
2010-01-10  7:42   ` [PATCH 01/13] OMAP2/3: DMTIMER: Clear pending interrupts when stopping a timer Shilimkar, Santosh
2010-01-11 17:42     ` Paul Walmsley
2010-01-13 23:53 ` [PATCH 14/13] DSS PM_WKEN to refill DMA Kevin Hilman
2010-01-14 18:51 ` [PATCH 15/13] PM debug: Fix warning when no CONFIG_DEBUG_FS Kevin Hilman
2010-01-15 19:43 ` [PATCH 00/13] OMAP PM fixes for 2.6.33-rc Kevin Hilman

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=1262973571-25796-6-git-send-email-khilman@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=premi@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.