watchdog: omap: don't disable the timer when it should be enabled early
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Dec 2015 10:37:41 +0000 (11:37 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 27 Dec 2015 20:09:40 +0000 (21:09 +0100)
commit8605fec1ce2a397f738f1c394be7847dacf31b0c
tree86eb69ba89e28251aaa487fd34d85668020b9dcb
parenta6392490fbb18f71d228d9c517516fa78fb23883
watchdog: omap: don't disable the timer when it should be enabled early

With the early_enable module parameter the watchdog can be started
during driver probe time. If this is requested the bets are good that
the timer is already running, so to narrow the gap where the timer is
disabled only call the disable function when the timer shouldn't be
started.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/omap_wdt.c
This page took 0.026913 seconds and 5 git commands to generate.