Messages in this thread |  | | | Date | Tue, 5 May 2009 18:11:31 +0400 | | Subject | Re: [linux-pm] [PATCH] PM: suspend_device_irqs(): don't disable wakeup IRQs | | From | Vitaly Wool <> |
| |
On Tue, May 5, 2009 at 10:54 AM, Andrew Morton <akpm@linux-foundation.org> wrote: > On Mon, 4 May 2009 17:27:04 -0700 Kevin Hilman <khilman@deeprootsystems.com> wrote: > >> Interrupts that are flagged as wakeup sources via set_irq_wake() >> should not be disabled for suspend. >> > > Why not?
Sounds like an interesting problem. If a wakeup depends on the interrupt line, then no they definitely should not be disabled, as no wakeup would happen otherwise. OTOH, this is not necessarily the case; some SoCs configure wakeup sources as GPIOs (i.MXs do AFAIR) so it's not clear if we should change generic source code in this case.
Vitaly -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |