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

Florian Fainelli florian.fainelli at broadcom.com
Fri Sep 15 11:50:44 PDT 2023


On 8/31/23 16:27, Florian Fainelli wrote:
> On 8/30/23 15:47, 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.
>>
>> Fixes: 24304a87158a ("rtc: brcmstb-waketimer: allow use as non-wake 
>> alarm")
>> Signed-off-by: Doug Berger <opendmb at gmail.com>
> 
> Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>

Alexandre, any chance you could apply this patch? Thanks!
-- 
Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20230915/85839a42/attachment.p7s>


More information about the linux-arm-kernel mailing list