]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
watchdog: pnx4008: readout watchdog state
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 11 Apr 2019 19:14:37 +0000 (21:14 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:04:56 +0000 (21:04 +0200)
commit9d7c09231e81a3a21a3dee29b97ca034c94a96b6
tree8942b1c9520981cde4ce50b46f8e965eb9f43cbf
parent0843bdc14ca4c6c8c2906a194fc19c8f7de7361c
watchdog: pnx4008: readout watchdog state

Readout the enabled state so it is possible to get the pre-userspace
handler working. Also, avoid disabling the watchdog to ensure it continues
working and triggers if there is an issue later in the boot or if userspace
fails to start.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/pnx4008_wdt.c