Re: [PATCH 1/2] watchdog: dw_wdt: restart the counter immediately after enabling WDT

2014-09-23 Thread Jisheng Zhang
Dear Guenter, On Sat, 20 Sep 2014 06:51:56 -0700 Guenter Roeck wrote: > On 09/18/2014 11:29 PM, Jisheng Zhang wrote: > > The TOP_INIT may be zero, so the timeout period may be very short after > > initialization is done, thus the system may be reset soon after enabling. > > We fix this problem b

Re: [PATCH 1/2] watchdog: dw_wdt: restart the counter immediately after enabling WDT

2014-09-20 Thread Guenter Roeck
On 09/18/2014 11:29 PM, Jisheng Zhang wrote: The TOP_INIT may be zero, so the timeout period may be very short after initialization is done, thus the system may be reset soon after enabling. We fix this problem by restarting the counter immediately after enabling WDT. Signed-off-by: Jisheng Zhan

Re: [PATCH 1/2] watchdog: dw_wdt: restart the counter immediately after enabling WDT

2014-09-19 Thread Guenter Roeck
On Fri, Sep 19, 2014 at 02:29:58PM +0800, Jisheng Zhang wrote: > The TOP_INIT may be zero, so the timeout period may be very short after What is TOP_INIT ? > initialization is done, thus the system may be reset soon after enabling. > We fix this problem by restarting the counter immediately after

[PATCH 1/2] watchdog: dw_wdt: restart the counter immediately after enabling WDT

2014-09-18 Thread Jisheng Zhang
The TOP_INIT may be zero, so the timeout period may be very short after initialization is done, thus the system may be reset soon after enabling. We fix this problem by restarting the counter immediately after enabling WDT. Signed-off-by: Jisheng Zhang --- drivers/watchdog/dw_wdt.c | 1 + 1 file