Re: [PATCH v2] rtc: loongson: clear TOY_MATCH0_REG in loongson_rtc_isr()

From: Alexandre Belloni
Date: Sun Jan 12 2025 - 18:40:19 EST


On Thu, 05 Dec 2024 19:43:07 +0800, Ming Wang wrote:
> The TOY_MATCH0_REG should be cleared to 0 in the RTC interrupt handler,
> otherwise the interrupt cannot be cleared, which will cause the
> loongson_rtc_isr() to be triggered multiple times.
>
> The previous code cleared TOY_MATCH0_REG in the loongson_rtc_handler(),
> which is an ACPI interrupt. This did not prevent loongson_rtc_isr()
> from being triggered multiple times.
>
> [...]

Applied, thanks!

[1/1] rtc: loongson: clear TOY_MATCH0_REG in loongson_rtc_isr()
https://git.kernel.org/abelloni/c/09471d8f5b39

Best regards,

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