]> git.hungrycats.org Git - linux/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>
Thu, 5 Dec 2024 12:54:27 +0000 (13:54 +0100)
commit0ffa3b4cb8574c480b5d14008235c7f3a67e072b
treebb8a9c957ffe5c51ad1aa052659e9c5817166fde
parentcbd100e558a04234f0067ed54b6391b1e71c8615
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