watchdog: tegra: Stop watchdog first if restarting
authorAndrew Chew <achew@nvidia.com>
Tue, 10 Nov 2015 00:11:38 +0000 (16:11 -0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 23 Nov 2015 07:59:45 +0000 (08:59 +0100)
commit0879eee13f9cf79793ce88fb41bf0dd2a51093c0
treeb4e3232a1c29cea1ab673b74fcedfb3f25c4381f
parent62ed853c7de7a77bdf01421fb6836269c9b1aa1f
watchdog: tegra: Stop watchdog first if restarting

If we need to restart the watchdog due to someone changing the timeout
interval, stop the watchdog before restarting it.  Otherwise, the new
timeout doesn't seem to take.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/tegra_wdt.c
This page took 0.024628 seconds and 5 git commands to generate.