summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/sbc60xxwdt.c
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-07-24 11:31:25 -0700
committerWim Van Sebroeck <wim@iguana.be>2007-07-24 21:16:28 +0000
commitf18699940cf2952ce6bc4ea79eda6d37616275e0 (patch)
tree2bf05989bdeed4d32a8d07d354eaac3e7cff2e87 /drivers/char/watchdog/sbc60xxwdt.c
parent2422df5e26fbf40449d393e01d257badf211a61a (diff)
downloadop-kernel-dev-f18699940cf2952ce6bc4ea79eda6d37616275e0.zip
op-kernel-dev-f18699940cf2952ce6bc4ea79eda6d37616275e0.tar.gz
[WATCHDOG] mv64x60_wdt: Rework the timeout register manipulation
Consolidate the timeout config register modification into a single function. Also, use the enabled flag in the config register to determine whether the timer is enabled instead of a separately maintained flag, MV64x60_WDOG_FLAG_ENABLED. Add spinlock protection around enabling/disabling the watchdog timer. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/sbc60xxwdt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud