projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e717cc6
)
sh: intc: Fixed resume from hibernation
author
Francesco VIRLINZI
<francesco.virlinzi@st.com>
Fri, 4 Dec 2009 08:57:58 +0000
(08:57 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Wed, 9 Dec 2009 03:35:18 +0000
(12:35 +0900)
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>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/intc.c
b/drivers/sh/intc.c
index a7e5c2e9986c0c700cf76f154f5c3c907914166d..88f5aaf62fdb6dc520011787ba282a93d7fde336 100644
(file)
--- 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)