lkml.org 
[lkml]   [2014]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] watchdog: dw_wdt: one bug fix and restart handler support
Date
These patches are intend to improve dw_wdt in the following two aspects:

Firstly, the TOP_INIT may be zero at reset on some HW, so the timeout period
may be very short, thus we will see immediate system reset after openning
the watchdog. Fix this problem by restarting the counter immediately after
WDT enabling.

Secondly, the WDT can also be used to reboot the system with the help of
recently introduced restart handler.

Tested on Marvell BG2Q DMP board.

Jisheng Zhang (2):
watchdog: dw_wdt: restart the counter immediately after enabling WDT
watchdog: dw_wdt: add restart handler support

drivers/watchdog/dw_wdt.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

--
2.1.0



\
 
 \ /
  Last update: 2014-09-19 08:41    [W:0.214 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site