watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND
authorBoris BREZILLON <[email protected]>
Mon, 2 Mar 2015 09:18:17 +0000 (10:18 +0100)
committerRafael J. Wysocki <[email protected]>
Thu, 5 Mar 2015 23:46:31 +0000 (00:46 +0100)
commitd677772e1358924bf487cd833bdc4d50f3f6f64d
treebdcad7961bb10eea9422d523aabf554c71db0305
parent947f5b108543a6521728466ad5be6e2c4a35a65b
watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

The watchdog interrupt (only used when activating software watchdog)
shouldn't be suspended when entering suspend mode, because it is shared
with a timer device (which request the line with IRQF_NO_SUSPEND) and once
the watchdog "Mode Register" has been written, it cannot be changed (which
means we cannot disable the watchdog interrupt when entering suspend).

Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alexandre Belloni <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Acked-by: Nicolas Ferre <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/watchdog/at91sam9_wdt.c