]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
watchdog: cadence: Do not stop wdt in probe
authorMichal Simek <michal.simek@xilinx.com>
Tue, 17 Jul 2018 11:17:39 +0000 (13:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 24 Jul 2018 09:36:01 +0000 (11:36 +0200)
Watchdog can be started before probe and u-boot should just take control
over it. That's why do not stop watchdog in probe to cover cases where
watchdog can expire before probe and start.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/watchdog/cdns_wdt.c

index b61bab4304efddbec3d6000962337963252f1288..63d99da5fc3e10c8f3dd7d9e44d68dd136a91b98 100644 (file)
@@ -225,8 +225,6 @@ static int cdns_wdt_probe(struct udevice *dev)
 {
        debug("%s: Probing wdt%u\n", __func__, dev->seq);
 
-       cdns_wdt_stop(dev);
-
        return 0;
 }