Skip to content

Commit 10e078b

Browse files
iwamatsualexandrebelloni
authored andcommitted
rtc: abx80x: Fix WDT bit position of the status register
The WDT bit in the status register is 5, not 6. This fixes from 6 to 5. Link: https://abracon.com/Support/AppsManuals/Precisiontiming/AB08XX-Application-Manual.pdf Link: https://www.microcrystal.com/fileadmin/Media/Products/RTC/App.Manual/RV-1805-C3_App-Manual.pdf Fixes: 749e36d ("rtc: abx80x: add basic watchdog support") Cc: Jeremy Gebben <[email protected]> Signed-off-by: Nobuhiro Iwamatsu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent d6f471a commit 10e078b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/rtc/rtc-abx80x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#define ABX8XX_REG_STATUS 0x0f
4040
#define ABX8XX_STATUS_AF BIT(2)
4141
#define ABX8XX_STATUS_BLF BIT(4)
42-
#define ABX8XX_STATUS_WDT BIT(6)
42+
#define ABX8XX_STATUS_WDT BIT(5)
4343

4444
#define ABX8XX_REG_CTRL1 0x10
4545
#define ABX8XX_CTRL_WRITE BIT(0)

0 commit comments

Comments
 (0)