]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/brcmstb-l2: Set controller as wake-up source
authorJustin Chen <justinpopo6@gmail.com>
Thu, 9 Jul 2020 22:30:12 +0000 (15:30 -0700)
committerMarc Zyngier <maz@kernel.org>
Fri, 17 Jul 2020 12:41:42 +0000 (13:41 +0100)
commit6177768dbf30a82304d8e6e588ad35576ce63507
tree63239d3b14f5e353ed0a834798a1151a893b9f8b
parenta2287bc49a1ec9abf0f1492ad558d6cfe640c968
irqchip/brcmstb-l2: Set controller as wake-up source

Utilize the Broadcom interrupt controller standard property
"brcm,irq-can-wake" to flag whether this particular interrupt controller
instance is wake-up capable.

Since we do not know what type of parent interrupt controller we are
interfaced with, ensure that enable_irq_wake() is called early on.

Signed-off-by: Justin Chen <justinpopo6@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200709223016.989-3-f.fainelli@gmail.com
drivers/irqchip/irq-brcmstb-l2.c