Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1215166pxk; Thu, 10 Sep 2020 09:44:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFpacbyiY27bzKBlAQpTnvCBsFZ896flMX0fPUrVIZpc81NhuULjgKF+Ff/BRF5Evc9OxA X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr10360234ejb.254.1599756252620; Thu, 10 Sep 2020 09:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599756252; cv=none; d=google.com; s=arc-20160816; b=KxMJ/7S7KBBL6bGI6HPinyfvslKbymWivMiWbH4CqvgmaCBh2sQSaxIILLes32hCdE tkF7p6ZkgY3WfPhNOrZcQbVu3GAJhVuNTrHxfh9CUuDUwqAyDFeaOnVduSai9O03YHiV RzrdTm1eN20AYTncKdyoAgX5l1LVcITDJwHoYmaUn53iecJNj+DjBM/+ACKDWYQZp7ky mHQOLTDQNtvSEKTOjdZsLFIHlIdU+zevPLAazV+3Lwvotai99Ox1Bf49Lf/WAVTOdE8O MMAXZztykmwGH7lU8IWOIZkWt8SrhZgzMBW9vSKaxia5bLndldKOizSIITmuG0KObXb6 7bAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ZLflO+6y2CV3/36DCXEjAkXxKljpWSRITCgyl2EiC0E=; b=WyeImcPuqAnfNVH9Yaxes+H5JXtIWnyfpzZcEB/q1YcuPgZuCOsk+oYB0vqg+Z1bHb L/8vaNJ8ewCg8DHxHfzycD2DZ5uyBMbzJkKCABMSndfncQS0Gsq+h12JIYaHcR+Xtf/i CdQJXI7ns78hapH47aHvzx2zyh/wqUh/AJSpo0TRLag2viJF8yBryPvWv4r9qXoRenzA /4yeUV5ELNfamt4IIeVAEZII3at5+xpm4lnwRHRHEwf4GIUNK4scBGE4PijG/dGcnoz7 4wvzhigpEzlVx4fkFUKw/lWtiyT6ThxoIbQAW9qIBxTb+LFCd2PHAwG+zdeO+H0KMIjR Fiyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h+WxcfKU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qx7si4036202ejb.438.2020.09.10.09.43.49; Thu, 10 Sep 2020 09:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=h+WxcfKU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726942AbgIJQmB (ORCPT + 99 others); Thu, 10 Sep 2020 12:42:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726980AbgIJQi4 (ORCPT ); Thu, 10 Sep 2020 12:38:56 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06D61C06179B; Thu, 10 Sep 2020 09:31:13 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id c10so5833649otm.13; Thu, 10 Sep 2020 09:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=ZLflO+6y2CV3/36DCXEjAkXxKljpWSRITCgyl2EiC0E=; b=h+WxcfKUGurTr1Vg8vZwYENOYIbO1DOxXVl8Xda6agOKRjwLTrSyAgxMznXVpYX8Mi CccsFN7kQjAUeB5YIr7unKtqjkw5h/ArbKznGmFNlJ8hYiCeCwClYWFh+EUHv0ATdSzW O7vxYexA0wV+sXea809M/UT2QghMMY5dhB1GvjHZZJwltFyCUuY2DfvjvhoQemxhs+sX OMeI5MGuF++hiKL0OY1eC0pcr6WxkV4EY78J6f8GlXUJrFUJry1PvY7SkVBz7vdytA3O iW6gDpqS/OtQU2NURMBg9xiXuuUnKid1k/x48K1c3Zc3EcfuPuYXUQBWA0IFBTkWGJDv mKaA== 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:cc:subject:date:message-id; bh=ZLflO+6y2CV3/36DCXEjAkXxKljpWSRITCgyl2EiC0E=; b=a5P/vTLY7X6wFJIpDHCtjxc4cFBNiTl2guTLLSu5iNi/XJmyKXpBDfFE0ExWf+hRMv 1kLlNXZ92Jum3Lfv9HmYRSf5Kn3Fv8TKFdumDDzZooeQ3ro20DZic5jUWCnGni2hYrg/ pO/zLXh66kY+6GN0Zlut1J3Bus37HQ5C5jri/WfnshcqUhQvtCNGAhKpWzHG3SXvHUYt aw2SVQHnzL58l+rlR6HNP18rRN36kc0kXpiV2E83PogdOxbyjH74WzYlmYkDCXOa9yk0 OLo7ctioGyz53/wiFVtlNgNWLOgPuwBmuIDONEFx4iNE4J0SAHlNs3rcnBzrM9FcSMjJ ljew== X-Gm-Message-State: AOAM531E1HkjbMMRis7m6lB/Ixmzu+YHsvtz5opqJd/Y3Emv5Hcj5XBA EhZwE5OJBBc17DrHexS8NIyh8kBpJpM= X-Received: by 2002:a05:6830:1e8a:: with SMTP id n10mr4610427otr.371.1599755472414; Thu, 10 Sep 2020 09:31:12 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d83sm965480oib.43.2020.09.10.09.31.11 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Sep 2020 09:31:11 -0700 (PDT) From: Guenter Roeck To: Wim Van Sebroeck Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , Jan Kiszka Subject: [PATCH 1/2] watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3 Date: Thu, 10 Sep 2020 09:31:08 -0700 Message-Id: <20200910163109.235136-1-linux@roeck-us.net> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org EFCH_PM_DECODEEN3 is supposed to access DECODEEN register bits 24..31, in other words the register at byte offset 3. Cc: Jan Kiszka Fixes: 887d2ec51e34b ("watchdog: sp5100_tco: Add support for recent FCH versions") Signed-off-by: Guenter Roeck --- drivers/watchdog/sp5100_tco.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/sp5100_tco.h b/drivers/watchdog/sp5100_tco.h index 87eaf357ae01..adf015aa4126 100644 --- a/drivers/watchdog/sp5100_tco.h +++ b/drivers/watchdog/sp5100_tco.h @@ -70,7 +70,7 @@ #define EFCH_PM_DECODEEN_WDT_TMREN BIT(7) -#define EFCH_PM_DECODEEN3 0x00 +#define EFCH_PM_DECODEEN3 0x03 #define EFCH_PM_DECODEEN_SECOND_RES GENMASK(1, 0) #define EFCH_PM_WATCHDOG_DISABLE ((u8)GENMASK(3, 2)) -- 2.17.1