Rewriting of alim1535 to use watchdog subsystem
PATCH 1/1 Rewriting of alim1535 to use watchdog subsystem
This patch rewrites the alim1535_wdt driver to use the watchdog subsystem. By virtue of this, it also fixes a (theoretical) race condition between the formerly arranged ali_timeout_bits and ali_settimer() interoperation.
Signed-off-by Mark Balantzyan <[email protected]>
--- drivers/watchdog/Kconfig | 1 + drivers/watchdog/alim1535_wdt.c | 275 +++++--------------------------- 2 files changed, 37 insertions(+), 239 deletions(-)
drivers/watchdog/Kconfig +1 -0
@@ -853,6 +853,7 @@ config ADVANTECH_WDT config ALIM1535_WDT tristate "ALi M1535 PMU Watchdog Timer" + select WATCHDOG_CORE depends on X86 && PCI ---help--- This is the driver for the hardware watchdog on the ALi M1535 PMU.
drivers/watchdog/alim1535_wdt.c +36 -239
371 lines not on this page · raw message
Signature · 1 line
2.17.1