]> bbs.cooldavid.org Git - net-next-2.6.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)
commit0e901bed4e053098f1c8411dcbf21324b7f61775
treedeba6a680ecebf3b806f71d272af530ba67c2a83
parentae44855ae8b36e4194a0a43eec6351e81f880955
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