]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: ts72xx_wdt: disable watchdog at probe
authorMika Westerberg <mika.westerberg@iki.fi>
Sun, 29 Aug 2010 10:53:14 +0000 (13:53 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 15 Sep 2010 18:43:52 +0000 (18:43 +0000)
commit5c24d4b2cdc236a98e1d8ca6069e640cde2d8b3f
treedeba6a680ecebf3b806f71d272af530ba67c2a83
parent439c5204ce653b69775fdd97a079d4281cdc6155
watchdog: ts72xx_wdt: disable watchdog at probe

Since it may be already enabled by bootloader or some other utility. This patch
makes sure that the watchdog is disabled before any userspace daemon opens the
device. It is also required by the watchdog API.

Signed-off-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ts72xx_wdt.c