]> 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)
commit6ca283c3421d64dd4cc3ba83c2958efe4f362d19
tree37019440c279b8fb9616c1a728f18b8a509ed50a
parenta26e3df1212bafb96222ea1f3a623f52a02bfd49
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