OSDN Git Service

watchdog: sp5100_tco: Fix watchdog disable bit
authorGuenter Roeck <linux@roeck-us.net>
Sun, 24 Dec 2017 21:04:07 +0000 (13:04 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:20 +0000 (07:50 +0200)
commit8dec8a30a5f49a1699c29c3e320b0d33338724e2
tree1ff7ade38b9695aa6ab64ca9a82c253fd28c3f36
parent73541706bfb1e34b06f253ff25c2f40e258413a1
watchdog: sp5100_tco: Fix watchdog disable bit

[ Upstream commit f541c09ebfc61697b586b38c9ebaf4b70defb278 ]

According to all published information, the watchdog disable bit for SB800
compatible controllers is bit 1 of PM register 0x48, not bit 2. For the
most part that doesn't matter in practice, since the bit has to be cleared
to enable watchdog address decoding, which is the default setting, but it
still needs to be fixed.

Cc: Zoltán Böszörményi <zboszor@pr.hu>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/watchdog/sp5100_tco.h