Message ID | 20180211200847.25000-4-marcus.folkesson@gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E796B602CB for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 11 Feb 2018 20:17:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4E5D223A7 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 11 Feb 2018 20:17:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C47A3262AE; Sun, 11 Feb 2018 20:17:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E0D2223A7 for <patchwork-linux-amlogic@patchwork.kernel.org>; Sun, 11 Feb 2018 20:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cLPHyo+pLYNXnXpOeSpJmOWOtePxIhRcbeIAlbbeW2c=; b=RNv8FxtpnqAz70pOfg6OBIsoM2 f4idjGTGcLZV6YjhyarVWDah7JoTK2X262NIwaRO0rwa66UY6FWhSGNQloxEx1pic7QHAEOFagYJE 9aS5Eaa7J7Eln+OVbRbqOpDpDy/4npu7p5BBaOI3HGP19nWf0zRYrEFy+FT+eV6dHOh1NNBMvXtY7 1VMTGqptSUWP1SSHBDgEUM5wLdLVdigQur49DGxDvJa/oPSCK9hPj53uDYvr+OUatJ6zRQzuxLpdS QNRflWK4E39alOLDDaz9811w9Ifx/FxIq3LHaqBGMOmdZ9ah4ar+B0U0oeeMNQTkq3CLMxeZLKp3S nbzNaiqg==; Received: from [198.137.202.133] (helo=bombadil.infradead.org) by casper.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eky44-00070A-RE for patchwork-linux-amlogic@patchwork.kernel.org; Sun, 11 Feb 2018 20:17:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=cLPHyo+pLYNXnXpOeSpJmOWOtePxIhRcbeIAlbbeW2c=; b=lureeyaFCcAeRvPaBEfdCAqaCa X84KJp+nB7qnKFGWUNuXQ1nOcpoFMKvNpLnxD47/VJ2KAtIXqnzhuWze8Dh+Bnlps9NxSj4y8vGHa EuTMC1skViJVjfeKOCyqw2Rm4JG7MtXUey6DpCoz9lyUp3xA0rveoxd3O91yzxTNFnlaCV4TSGDow Fdp4smvCae1r+NTFsZoGmEcOAVjt1t4+LKA39k/JWvwJ9isR4gUIa3AR88y+sYRJiZ2pYRQa5Nvfl CO8Veo3f9ekEKHlqOKxEXukW/vjoU3pLI2GAPhpYnQkNVepUS5K8l5LoqgzNlWCq613vKDdkBZzqU ai4Vj/5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ekxxz-0006uv-K3; Sun, 11 Feb 2018 20:11:15 +0000 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ekxwO-0003Ai-NW; Sun, 11 Feb 2018 20:09:38 +0000 Received: by mail-lf0-x244.google.com with SMTP id w10so5031357lfc.9; Sun, 11 Feb 2018 12:09:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=H2Wg9nRuNX02l7bkxEYKY/cnVmAhcd/Ie5xGJ5iD9OM=; b=qDgcC4145zNey3gIQ9KqR9/hb5CdJHXqfiY0WOt5o7InLF1KFjwQeX4qzEauDzdkXX l1tkUcl6jG88WlEjTcstJpzJnZ/eC2FYj+VE1nZUHvf1orx7MCAAbts6v3Pcqh1u6Ts2 Qndco78lwLXM9ahTxh5IcFSoVPs/xlx9J/V92a/G+68ndF0oRlKYYFKNLPAM552Izcn1 eKUOu3Q56PSH1SKuGtR/JlNN/rdrqbauQI8RigkFsl8dCRVpiIoVMXG3Y0RoAh107lsb jHj/HH7KyhAEzAyEPKlpJhLlA0j3MSrpsV/w9i5QlVKhq2tmfpzscbkKrswVr7JzTATw 5mUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=H2Wg9nRuNX02l7bkxEYKY/cnVmAhcd/Ie5xGJ5iD9OM=; b=OzSk5qOKJ0PIeAKABdlM3KVnj23lNhQHITuiwzQbgaZTIC9Kv5p3AV53McOmzrmcnz lXfgDLWzmocj0zC8jbcQK+tduEo96GTVsC1cKgD1jaPyq8HBaOpbhLyjwJJs2X1V2SuG BMk/SJSNW3WFlgrXc75B2cpEzikMDgcbKMaDKvCTPkOTMF6jmum99ejNbQxeExIUytj9 ySt8yIIy6PzplRhB+UJwkpTbOpf9kTVTn7Jghn2BLolhOzvyn+wMO3tvEpVQT0+uFvIV Vx/mp2eycovlzhhJYhL6UjTINQCFt2YvzragqOE2/cpQ10SXI+KVgXfTBBNkgfB6rHz5 MSGA== X-Gm-Message-State: APf1xPBLF3t3uvkXgsH/iPCO9YT9ATqyakhwb6urobRLNbxkc2+O3GVD pj23MF2bMQndBYrAPWoVpFU= X-Google-Smtp-Source: AH8x227pqvDSUDHiUUacslrjG2iNRhUfQ1RcmiTQigcWdZk6Ws2UTCGHCtNNajPxWRMdTVC6drTb3g== X-Received: by 10.25.109.5 with SMTP id i5mr6073831lfc.63.1518379764788; Sun, 11 Feb 2018 12:09:24 -0800 (PST) Received: from localhost.localdomain (c-2ec27091-74736162.cust.telenor.se. [46.194.112.145]) by smtp.gmail.com with ESMTPSA id c21sm927549lfb.13.2018.02.11.12.09.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Feb 2018 12:09:23 -0800 (PST) From: Marcus Folkesson <marcus.folkesson@gmail.com> To: Wim Van Sebroeck <wim@iguana.be>, Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Carlo Caione <carlo@caione.org>, Kevin Hilman <khilman@baylibre.com>, Matthias Brugger <matthias.bgg@gmail.com>, Barry Song <baohua@kernel.org>, Maxime Ripard <maxime.ripard@free-electrons.com>, Chen-Yu Tsai <wens@csie.org>, Linus Walleij <linus.walleij@linaro.org>, Vladimir Zapolskiy <vz@mleia.com>, Sylvain Lemieux <slemieux.tyco@gmail.com>, Nicolas Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni <alexandre.belloni@free-electrons.com> Subject: [PATCH v3 4/7] watchdog: pnx4008: make use of timeout-secs provided in devicetree Date: Sun, 11 Feb 2018 21:08:44 +0100 Message-Id: <20180211200847.25000-4-marcus.folkesson@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180211200847.25000-1-marcus.folkesson@gmail.com> References: <20180211200847.25000-1-marcus.folkesson@gmail.com> X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, Marcus Folkesson <marcus.folkesson@gmail.com>, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index 0529aed158a4..8e261799c84e 100644 --- a/drivers/watchdog/pnx4008_wdt.c +++ b/drivers/watchdog/pnx4008_wdt.c @@ -78,7 +78,7 @@ #define WDOG_COUNTER_RATE 13000000 /*the counter clock is 13 MHz fixed */ static bool nowayout = WATCHDOG_NOWAYOUT; -static unsigned int heartbeat = DEFAULT_HEARTBEAT; +static unsigned int heartbeat; static DEFINE_SPINLOCK(io_lock); static void __iomem *wdt_base;