Re: [PATCH] watchdog: gpio-wdt: ping already at startup for always running devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 31, 2015 at 09:21:36AM +0200, Uwe Kleine-König wrote:
> During probe for an always-running watchdog a timer is setup to
> constantly ping the watchdog while the device is not open. The gpio to
> ping the watchdog is setup to inactive.
> 
> For a watchdog with hw_algo = "toggle" this results in a ping depending
> on the initial state of the gpio, for hw_algo = "level" no ping is
> generated.
> 
> Make sure that the first automatic ping is sent immediately and not only
> when the timer expires the first time. This makes the machine survive in
> case more than half of the watchdog timeout is already elapsed. (Which
> is very probable for the chip I'm faced with that has a timeout of one
> second.)
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>

Makes sense.

Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux