mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rtc: Abracon ABX8XX write RTC fix
@ 2015-09-02  8:02 Mitja Spes
  2015-09-05 11:30 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Mitja Spes @ 2015-09-02  8:02 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Philippe De Muyter,
	rtc-linux, linux-kernel
  Cc: Mitja Spes

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc: Abracon ABX8XX write RTC fix
  2015-09-02  8:02 [PATCH] rtc: Abracon ABX8XX write RTC fix Mitja Spes
@ 2015-09-05 11:30 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2015-09-05 11:30 UTC (permalink / raw)
  To: Mitja Spes; +Cc: Alessandro Zummo, Philippe De Muyter, rtc-linux, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-05 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-02  8:02 [PATCH] rtc: Abracon ABX8XX write RTC fix Mitja Spes
2015-09-05 11:30 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®