]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: lantiq: fix watchdogs timeout handling
authorJohn Crispin <blogic@openwrt.org>
Wed, 24 Aug 2011 08:31:39 +0000 (10:31 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 20 Sep 2011 12:28:24 +0000 (14:28 +0200)
commitbd59371cc05e9d57a0d72aa6550ab3cdabdfe135
tree37019440c279b8fb9616c1a728f18b8a509ed50a
parent1fe2d053ff48cdbef36966cf23d5e87fc261319c
watchdog: lantiq: fix watchdogs timeout handling

The enable function was using the global timeout variable for local operations.
This resulted in the value of the global variable being corrupted, thus
breaking the code.

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
drivers/watchdog/lantiq_wdt.c