mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
rtc: abx80x: fix RTC write bit
commit 5f1b2f7764 upstream.
Fix RTC write bit as per application manual
Signed-off-by: Mitja Spes <mitja@lxnav.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
4530473fda
commit
1a64393e4a
@@ -28,7 +28,7 @@
|
|||||||
#define ABX8XX_REG_WD 0x07
|
#define ABX8XX_REG_WD 0x07
|
||||||
|
|
||||||
#define ABX8XX_REG_CTRL1 0x10
|
#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_CTRL_12_24 BIT(6)
|
||||||
|
|
||||||
#define ABX8XX_REG_CFG_KEY 0x1f
|
#define ABX8XX_REG_CFG_KEY 0x1f
|
||||||
|
|||||||
Reference in New Issue
Block a user