]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
authorStefan Wahren <stefan.wahren@i2se.com>
Tue, 27 Dec 2016 18:29:57 +0000 (18:29 +0000)
committerJason Cooper <jason@lakedaemon.net>
Sat, 31 Dec 2016 19:06:44 +0000 (19:06 +0000)
commitdef4b3fecaeb88ffb7c81327f95fcd66a2d666fd
treef60fd90e8154294a09917d12be7111b844b0174c
parent6a0c2c9907d45e59447683200cdfa6490a6ef989
irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND

The ICOLL controller doesn't provide any facility to configure the
wakeup sources. That's the reason why this implementation lacks
the irq_set_wake implementation. But this prevent us from properly
entering power management states like "suspend to idle".

So enable the flags IRQCHIP_SKIP_SET_WAKE and
IRQCHIP_MASK_ON_SUSPEND to let the irqchip core allows and handles
the power management.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Link: https://lkml.kernel.org/r/1482863397-11400-1-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-mxs.c