From: Michal Simek Date: Tue, 17 Jul 2018 11:17:39 +0000 (+0200) Subject: watchdog: cadence: Do not stop wdt in probe X-Git-Tag: v2018.09-rc1~141^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bd83060c2b01331f1b989433bc400b5bf002f9f;p=platform%2Fkernel%2Fu-boot.git watchdog: cadence: Do not stop wdt in probe 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 --- diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index 71575cb..fc85fbc 100644 --- a/drivers/watchdog/cdns_wdt.c +++ b/drivers/watchdog/cdns_wdt.c @@ -224,8 +224,6 @@ static int cdns_wdt_probe(struct udevice *dev) { debug("%s: Probing wdt%u\n", __func__, dev->seq); - cdns_wdt_stop(dev); - return 0; }