aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorBoris BREZILLON <[email protected]>2015-03-02 09:18:18 +0000
committerRafael J. Wysocki <[email protected]>2015-03-05 23:46:44 +0000
commit2c7af5ba65cfb0145ad8e11f856035c10ba0d22c (patch)
treea60f47a06dcafab7973c0f2f2a4135c6700a0f19 /net/switchdev/switchdev.c
parentwatchdog: at91sam9: request the irq with IRQF_NO_SUSPEND (diff)
downloadkernel-2c7af5ba65cfb0145ad8e11f856035c10ba0d22c.tar.gz
kernel-2c7af5ba65cfb0145ad8e11f856035c10ba0d22c.zip
tty: serial: atmel: rework interrupt and wakeup handling
The IRQ line connected to the DBGU UART is often shared with a timer device which request the IRQ with IRQF_NO_SUSPEND. Since the UART driver is correctly disabling IRQs when entering suspend we can safely request the IRQ with IRQF_COND_SUSPEND so that irq core will not complain about mixing IRQF_NO_SUSPEND and !IRQF_NO_SUSPEND. Rework the interrupt handler to wake the system up when an interrupt happens on the DEBUG_UART while the system is suspended. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Acked-by: Mark Rutland <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions