]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9cfce47b146cb492b8d5e7b40d6f7b3ea1963d50
tree37019440c279b8fb9616c1a728f18b8a509ed50a
parentdbc018eca386b4e2670fc3116feada19f3db664c
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