Skip to content

Commit

Permalink
rtc: abx80x: fix RTC write bit
Browse files Browse the repository at this point in the history
Fix RTC write bit as per application manual

Cc: [email protected] # 4.1+
Signed-off-by: Mitja Spes <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
masbug authored and alexandrebelloni committed Sep 5, 2015
1 parent 8a67e93 commit 5f1b2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-abx80x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f1b2f7

Please sign in to comment.