summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/rtc/rtc-abx80x.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/rtc/rtc-abx80x.c')
-rw-r--r--kernel/drivers/rtc/rtc-abx80x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/rtc/rtc-abx80x.c b/kernel/drivers/rtc/rtc-abx80x.c
index 4337c3bc6..afea84c7a 100644
--- a/kernel/drivers/rtc/rtc-abx80x.c
+++ b/kernel/drivers/rtc/rtc-abx80x.c
@@ -28,7 +28,7 @@
#define ABX8XX_REG_WD 0x07
#define ABX8XX_REG_CTRL1 0x10
-#define ABX8XX_CTRL_WRITE BIT(1)
+#define ABX8XX_CTRL_WRITE BIT(0)
#define ABX8XX_CTRL_12_24 BIT(6)
#define ABX8XX_REG_CFG_KEY 0x1f