Commit ee8a92f7 authored by Mitja Spes's avatar Mitja Spes Committed by Greg Kroah-Hartman

rtc: abx80x: fix RTC write bit

commit 5f1b2f77 upstream.

Fix RTC write bit as per application manual
Signed-off-by: default avatarMitja Spes <mitja@lxnav.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 62ddf250
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment