Skip to contentSkip to conversation

watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

PATCH Superseded Mark Balantzyan 1 participant 1 message Jul 31, 2019 Watchdog device drivers

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 watchdog: pc87413: Rewriting of pc87413_wdt driver to use watchdog subsystem

This patch rewrites the pc87413_wdt driver to use the watchdog subsystem. In doing so, it also addresses a potential race condition owing from the swc_base_addr variable being used before being set.

---
 drivers/watchdog/Kconfig       |   1 +
 drivers/watchdog/pc87413_wdt.c | 333 +++++----------------------------
 2 files changed, 47 insertions(+), 287 deletions(-)
drivers/watchdog/Kconfig +1 -0
index 9af07fd9..84a7326d 100644
@@ -1166,6 +1166,7 @@ config SCx200_WDT
 
 config PC87413_WDT
 	tristate "NS PC87413 watchdog"
+	select WATCHDOG_CORE
 	depends on X86
 	---help---
 	  This is the driver for the hardware watchdog on the PC87413 chipset
drivers/watchdog/pc87413_wdt.c +46 -287

429 lines not on this page · raw message

Signature · 1 line
2.17.1