projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a67e93
)
rtc: abx80x: fix RTC write bit
author
Mitja Spes
<mitja@lxnav.com>
Wed, 2 Sep 2015 08:02:29 +0000
(10:02 +0200)
committer
Alexandre Belloni
<alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 17:37:31 +0000
(19:37 +0200)
Fix RTC write bit as per application manual
Cc: stable@vger.kernel.org # 4.1+
Signed-off-by: Mitja Spes <mitja@lxnav.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-abx80x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-abx80x.c
b/drivers/rtc/rtc-abx80x.c
index 4337c3bc6acef06e41daf18032acd43398a16503..afea84c7a155cc962dae5f6b85ebbef106e8c44e 100644
(file)
--- a/
drivers/rtc/rtc-abx80x.c
+++ b/
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