From fd9ce9cf0f99868d35bad02119d8dc88deac6523 Mon Sep 17 00:00:00 2001 From: Aaron Brice Date: Fri, 27 Mar 2026 22:36:23 +0000 Subject: [PATCH] rtc: tswizard: Fix calibration offset calibration offset was using the wrong register. --- drivers/rtc/rtc-tswizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-tswizard.c b/drivers/rtc/rtc-tswizard.c index 20d5281a2ef2..61506ad32625 100644 --- a/drivers/rtc/rtc-tswizard.c +++ b/drivers/rtc/rtc-tswizard.c @@ -115,7 +115,7 @@ static int wizard_rtc_set_offset(struct device *dev, long offset) if (offset >= 0) ctrl_reg |= RTC_PPB_CTL_SIGN; - return regmap_update_bits(wiz->regmap, RTC_FLAGS, + return regmap_update_bits(wiz->regmap, RTC_PPB_CTL, RTC_PPB_CTL_SIGN | RTC_PPB_CTL_EN, ctrl_reg); }