linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: wellsk40@gmail.com (wellsk40 at gmail.com)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/7] ARM: LPC32xx: Remove un-needed wakeup code from IRQ ack handler
Date: Thu, 29 Jul 2010 09:04:09 -0700	[thread overview]
Message-ID: <1280419454-1089-3-git-send-email-wellsk40@gmail.com> (raw)
In-Reply-To: <1280419454-1089-1-git-send-email-wellsk40@gmail.com>

From: Kevin Wells <wellsk40@gmail.com>

Code was intended for clearing platform wakeup events and just
added extra overhead in the ack handler.

Signed-off-by: Kevin Wells <wellsk40@gmail.com>
---
 arch/arm/mach-lpc32xx/irq.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/arm/mach-lpc32xx/irq.c b/arch/arm/mach-lpc32xx/irq.c
index bd0df26..d539d42 100644
--- a/arch/arm/mach-lpc32xx/irq.c
+++ b/arch/arm/mach-lpc32xx/irq.c
@@ -218,11 +218,6 @@ static void lpc32xx_ack_irq(unsigned int irq)
 	get_controller(irq, &ctrl, &mask);
 
 	__raw_writel(mask, LPC32XX_INTC_RAW_STAT(ctrl));
-
-	/* Also need to clear pending wake event */
-	if (lpc32xx_events[irq].mask != 0)
-		__raw_writel(lpc32xx_events[irq].mask,
-			lpc32xx_events[irq].event_group->rawstat_reg);
 }
 
 static void __lpc32xx_set_irq_type(unsigned int irq, int use_high_level,
-- 
1.7.1.1

  parent reply	other threads:[~2010-07-29 16:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-29 16:04 ARM: LPC32xx: Misc arch updates and fixes wellsk40 at gmail.com
2010-07-29 16:04 ` [PATCH 1/7] ARM: LPC32xx: Fix naming convention issues with some defines wellsk40 at gmail.com
2010-07-29 16:04 ` wellsk40 at gmail.com [this message]
2010-07-29 16:04 ` [PATCH 3/7] ARM: LPC32xx: Fix gpiolib bit mask macro wellsk40 at gmail.com
2010-07-29 16:04 ` [PATCH 4/7] ARM: LPC32xx: Change clocking for AMBA device registration wellsk40 at gmail.com
2010-07-29 16:04 ` [PATCH 5/7] ARM: LPC32xx: Add workaround the AMBA LCD clocking wellsk40 at gmail.com
2010-07-29 16:04 ` [PATCH 6/7] ARM: LPC32xx: Remove MMC peripheral clock enable/disable code wellsk40 at gmail.com
2010-07-29 16:04 ` [PATCH 7/7] ARM: LPC32xx: Replace 'tbd's from audio clock names with NULL wellsk40 at gmail.com

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=1280419454-1089-3-git-send-email-wellsk40@gmail.com \
    --to=wellsk40@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).