Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1217395 > unrolled thread

[PATCH] rtc: Abracon ABX8XX write RTC fix

Started byMitja Spes <mitja@lxnav.com>
First post2015-09-02 10:10 +0200
Last post2015-09-05 13:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] rtc: Abracon ABX8XX write RTC fix Mitja Spes <mitja@lxnav.com> - 2015-09-02 10:10 +0200
    Re: [PATCH] rtc: Abracon ABX8XX write RTC fix Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-09-05 13:40 +0200

#1217395 — [PATCH] rtc: Abracon ABX8XX write RTC fix

FromMitja Spes <mitja@lxnav.com>
Date2015-09-02 10:10 +0200
Subject[PATCH] rtc: Abracon ABX8XX write RTC fix
Message-ID<q4bhg-7FS-13@gated-at.bofh.it>
Fixed RTC write bit as per application manual

Signed-off-by: Mitja Spes <mitja@lxnav.com>
---
 drivers/rtc/rtc-abx80x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c
index 4337c3b..afea84c 100644
--- 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
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1219517

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2015-09-05 13:40 +0200
Message-ID<q5jZ8-7Ei-5@gated-at.bofh.it>
In reply to#1217395
On 02/09/2015 at 10:02:29 +0200, Mitja Spes wrote :
> Fixed RTC write bit as per application manual
> 
> Signed-off-by: Mitja Spes <mitja@lxnav.com>
> ---
>  drivers/rtc/rtc-abx80x.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
Applied, thanks.

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web