]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rtc: abx80x: Fix WDT bit position of the status register
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 8 Oct 2024 04:17:37 +0000 (13:17 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:51:19 +0000 (19:51 +0100)
commit7c6098bdb62a503ac5b1a6a420ff294a5f04b5b9
treeab331f286126f75c9962f968a16c24cd41f248e9
parent3b28fb1376aafbdd07410062f1ae4fe58ee5d7d4
rtc: abx80x: Fix WDT bit position of the status register

[ Upstream commit 10e078b273ee7a2b8b4f05a64ac458f5e652d18d ]

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: 749e36d0a0d7 ("rtc: abx80x: add basic watchdog support")
Cc: Jeremy Gebben <jgebben@sweptlaser.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Link: https://lore.kernel.org/r/20241008041737.1640633-1-iwamatsu@nigauri.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/rtc/rtc-abx80x.c