Re: [PATCH] rtc: abx80x: fix the RTC_VL_CLR clearing all status flags

From: Alexandre Belloni

Date: Wed Jun 24 2026 - 17:15:38 EST


On Wed, 15 Apr 2026 18:06:11 +0200, Antoni Pokusinski wrote:
> The RTC_VL_CLR ioctl intends to clear only the battery low flag (BLF),
> however the current implementation writes 0 to the status register,
> clearing all status bits.
>
> Fix this by writing back the masked status value so that only BLF is
> cleared, preserving other status flags.
>
> [...]

Applied, thanks!

[1/1] rtc: abx80x: fix the RTC_VL_CLR clearing all status flags
https://git.kernel.org/abelloni/c/419719c51425

Best regards,

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