]> www.infradead.org Git - users/willy/linux.git/commit
irqchip/bcm2835: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND
authorStefan Wahren <wahrenst@gmx.net>
Sun, 30 Jun 2024 15:36:46 +0000 (17:36 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 15 Jul 2024 13:13:55 +0000 (15:13 +0200)
commit9a58480e5e532903f08b2a34f05076d3ec3a5c00
treeb6507e07142433f35a747d48431eea30d7b14b64
parenta84a07fa3100d7ad46a3d6882af25a3df9c9e7e3
irqchip/bcm2835: Enable SKIP_SET_WAKE and MASK_ON_SUSPEND

The BCM2835 ARMCTRL interrupt controller doesn't provide any facility to
configure the wakeup sources. That's the reason why the driver lacks the
irq_set_wake() callback for the interrupt chip.

But this prevent to properly enter power management states like "suspend to
idle".

Enable the flags IRQCHIP_SKIP_SET_WAKE and IRQCHIP_MASK_ON_SUSPEND so the
interrupt suspend logic can handle the chip correctly.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
drivers/irqchip/irq-bcm2835.c