Re: [PATCH v2] rtc: pcf8563: fix wrong alarm register

From: Alexandre Belloni
Date: Sun Jun 01 2025 - 18:04:42 EST


On Sat, 31 May 2025 15:20:40 +0800, Troy Mitchell wrote:
> When the regmap framework was introduced to this driver,
> the PCF8563_REG_AMN register within the set_alarm function was
> incorrectly changed to PCF8563_REG_SC.
>
> The PCF8563_REG_SC register is the seconds register.
> This caused alarm values to be written to the seconds register
> when an alarm was set. Which means the alarm would not trigger
> as expected and the seconds register would be overwritten
> with an incorrect value.
>
> [...]

Applied, thanks!

[1/1] rtc: pcf8563: fix wrong alarm register
https://git.kernel.org/abelloni/c/1e15a6803df0

Best regards,

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