]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Tue, 22 Aug 2017 09:58:06 +0000 (06:58 -0300)
commitc49b84a8f69a0dd5a130e38f679ea2ae59f741c1
tree17fe08814e7256bf102454c0444454b7b2b6eea3
parent744a8959ad08f49d19fde0611380108a681c9872
irqchip/mxs: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND

BugLink: http://bugs.launchpad.net/bugs/1710646
[ Upstream commit 88e20c74ee020f9e0c99dfce0dd9aa61c3f0cca0 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/irqchip/irq-mxs.c