From patchwork Tue Jul 17 12:41:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 945014 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=xilinx.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="WVT7UEZu"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41VKfk5fZ2z9s3Z for ; Tue, 17 Jul 2018 22:42:06 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 631CBC21E3A; Tue, 17 Jul 2018 12:42:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id F0A3CC21C3F; Tue, 17 Jul 2018 12:41:59 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 0CB0DC21C3F; Tue, 17 Jul 2018 12:41:57 +0000 (UTC) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by lists.denx.de (Postfix) with ESMTPS id 9A721C21C27 for ; Tue, 17 Jul 2018 12:41:57 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id z6-v6so12468031wma.0 for ; Tue, 17 Jul 2018 05:41:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:subject:date:message-id; bh=8iohqbfm8V6t9dowPtzvn9lhZmXxG321k+gF4lVVFWA=; b=WVT7UEZuKZOuLbh62vBtewkRoHK4UzaBd2EPJyTleUFFwxEPWwtVGbQdzzpls3wwxG JbplfrAq59/JWQlki4hfPflPyWm/e+Y1gS+LaQajpSenGP39hpzWq3tUZSP11sn2JDRH 9E5WpGQLmBXeB9PjtmeGc2UrO5JvTux5Uv1k5V2xsVjV12Ya45CT9GqjLd9UoBCVRJeg 976hvFjjwGQSOKYyxI9mW3EIXHwEvsGwxVim3odq7QyCk4iWhXqVoPqiILhjzlAuT/92 YeUEpiDRKLMlOnDfkqjbKNNTHGiJtElQThzSjW1dQhYX3eJV4nEuGDDHQ/8wU9bhY8OJ qQHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id; bh=8iohqbfm8V6t9dowPtzvn9lhZmXxG321k+gF4lVVFWA=; b=J0MkNJ1ejnH/2WJIg4U12HXCzdFkTcocxyWjpcJmeUS4L/8/DWu4Yh8KCqR4gdYiA+ i2PK8TIlypkRBnjFayg62oHmmZ4cVfkCm8X+4PEqH7KIB3gqz8p418EMZXCxi0MIak+L nQWW48WbJBl8tUZgOGmPBEvFYizv8zhLb1t/7PALtvffFBF01cR65Neh17BEpsdVIZFF E3FhCWY0zD4YA8pNBwDFJCmTuul0etRO/TSXMjBS2y3jHzm5u2wyb4dC0j9kg+FNfO7z mhMlDUKSTUONNQ3hlma8uB8f6rxq9kY02640uSPuqYUqudjl/1hrmiNx8q8qhBLTleq0 MZug== X-Gm-Message-State: AOUpUlE+trgaJll1B+efyhjfuLPxlRNz3PO4GXSTIzAvWC9+lT83AeRI ESloYxt0ZRfw5+1u3zyyEBjraw9x X-Google-Smtp-Source: AAOMgpdVZw/Eor/KRPhiSEIEGwuvcbj3EGX2jVUFY6MhQS9ocrshSC47lNIWgPsAdlhAV6jLWxPm0w== X-Received: by 2002:a1c:2352:: with SMTP id j79-v6mr1283329wmj.124.1531831316916; Tue, 17 Jul 2018 05:41:56 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id z1-v6sm1802256wmf.5.2018.07.17.05.41.56 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 17 Jul 2018 05:41:56 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de Date: Tue, 17 Jul 2018 14:41:52 +0200 Message-Id: <137b36e0f0c9c1ef78d8a0f93f550658d12e130e.1531831311.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 Subject: [U-Boot] [PATCH] watchdog: cadence: Do not stop wdt in probe X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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 --- drivers/watchdog/cdns_wdt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/watchdog/cdns_wdt.c b/drivers/watchdog/cdns_wdt.c index 71575cb300f4..fc85fbcec252 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; }