* [PATCH] sh: intc: Fixed resume from hibernation
@ 2009-12-04 8:57 Francesco VIRLINZI
2009-12-09 3:44 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Francesco VIRLINZI @ 2009-12-04 8:57 UTC (permalink / raw)
To: linux-sh
This patch fixes the resume from hibernation
in the intc sysdev device when it manages 'redirect' irq
Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
---
drivers/sh/intc.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c
index a7e5c2e..88f5aaf 100644
--- a/drivers/sh/intc.c
+++ b/drivers/sh/intc.c
@@ -806,6 +806,8 @@ static int intc_suspend(struct sys_device *dev, pm_message_t state)
if (d->state.event != PM_EVENT_FREEZE)
break;
for_each_irq_desc(irq, desc) {
+ if (desc->handle_irq = intc_redirect_irq)
+ continue
if (desc->chip != &d->chip)
continue;
if (desc->status & IRQ_DISABLED)
--
1.6.2.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sh: intc: Fixed resume from hibernation
2009-12-04 8:57 [PATCH] sh: intc: Fixed resume from hibernation Francesco VIRLINZI
@ 2009-12-09 3:44 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2009-12-09 3:44 UTC (permalink / raw)
To: linux-sh
On Fri, Dec 04, 2009 at 09:57:58AM +0100, Francesco VIRLINZI wrote:
> This patch fixes the resume from hibernation
> in the intc sysdev device when it manages 'redirect' irq
>
> Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-09 3:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-04 8:57 [PATCH] sh: intc: Fixed resume from hibernation Francesco VIRLINZI
2009-12-09 3:44 ` Paul Mundt
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).