Re: [PATCH] rtc: brcmstb-waketimer: support level alarm_irq

From: Alexandre Belloni
Date: Sun Oct 01 2023 - 18:15:56 EST



On Wed, 30 Aug 2023 15:47:47 -0700, Doug Berger wrote:
> Some devices (e.g. BCM72112) use an alarm_irq interrupt that is
> connected to a level interrupt controller rather than an edge
> interrupt controller. In this case, the interrupt cannot be left
> enabled by the irq handler while preserving the hardware wake-up
> signal on wake capable devices or an interrupt storm will occur.
>
> The alarm_expired flag is introduced to allow the disabling of
> the interrupt when an alarm expires and to support balancing the
> calls to disable_irq() and enable_irq() in accordance with the
> existing design.
>
> [...]

Applied, thanks!

[1/1] rtc: brcmstb-waketimer: support level alarm_irq
commit: e005a9b35b464be5b2e0194f717e90e7e496785d

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com