Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp516870pxx; Wed, 28 Oct 2020 10:06:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMF15yfwJt9f/srdkEQJZ06m4WNE7uSpHuNSo19W9vydKioWL4bFBgC5OTbGACd4GXcZYC X-Received: by 2002:a17:906:3fc5:: with SMTP id k5mr68033ejj.158.1603904805075; Wed, 28 Oct 2020 10:06:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603904805; cv=none; d=google.com; s=arc-20160816; b=IQg0FHwgScD3Ef2KyXx0nahJqGyKwa+a+ge+xuMOEQ51wG2h71CT3eU6oS4kXigIEj ZO+1VN4IryfKj5EYEeKZrAz+9bINyWCrxGThjMJ0y9ZFB8Y+LOFTwT9z8sJfXBL6dVrz 81QQiLNEby2ZfQLUczTLbTBHoG7Yx1URtmdQQ7BcqWUc1jPngysDkTXIsaoPeYcHtxG/ JabgIpCgcnpBQFqVjy7ljWX8ATBgJKj8cYJhMFUXQurHDYsM3hufmnsRATi4ugfOi3yd +nLcH8YjXe3dyA9guKJuUCST3jnvlzsWyA4WeXGCBjosgTZcvq5palN+s/UmrPFK+OmD aI2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LXIUQFkcZDii1TIChPul61fR+I+ePXBsn87Vz4qKKSQ=; b=MxC+fUR78odCOU0EP5CkWTDKuCF1UsJQXbUN7mik1HKw1zb8B1Q3XRiJixfECE0Cqr b2cF3PSqD52D8PXwG9WTxAscLoVAclv6o3Gqu5vrd7X1aNr9hzkXmdq2000mNIrbH+vR xfWwVVHawL2GnlDdM+Fhl4N3s4KerM+0XrC7+UTekAeUXC8Iu2b8VoCUg2CZBtEob7iu boZg0+SZPowE6kp4wBdHjV6r4uH/6mib+8o5OoU0U09oCmFDlesZlSoDvUsxUGiINfZB MDF07vGx4Iw5Z63BtYQvzvnmAQGs9UZP23c2rBi77SP5U6bo3p4RPE7O6mfK8D6phWGe l0dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=l15Yo282; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si2268edr.541.2020.10.28.10.06.16; Wed, 28 Oct 2020 10:06:45 -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=pass header.i=@kernel.org header.s=default header.b=l15Yo282; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1820100AbgJ0Rcx (ORCPT + 99 others); Tue, 27 Oct 2020 13:32:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:40586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762157AbgJ0OlP (ORCPT ); Tue, 27 Oct 2020 10:41:15 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8A69422264; Tue, 27 Oct 2020 14:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809671; bh=HsMses8PpoHYK+jDdQveb7EZ8eGzvNjnqamAlKSyMTw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l15Yo282z9RbrmmrDehgAPY51bRl+DHSGdcLGY8Oyjbb40OcXDj46WG0qxpk+Hrxf qLB+GJgrFEC2x2OmWIZAIMi1u6kP0yPg4H8/sbVKUwng8eQG8NjxdSJPI+UkN6y7Ox xIxT1FP75R2ya1SIN3EsC31TJ3xcN9oVzoiMNsDw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jan Kiszka , Guenter Roeck , Wim Van Sebroeck , Sasha Levin Subject: [PATCH 5.4 277/408] watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3 Date: Tue, 27 Oct 2020 14:53:35 +0100 Message-Id: <20201027135507.891293700@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Guenter Roeck [ Upstream commit 08c619b4923056b5dd2d5045757468c76ad0e3fe ] 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") Tested-by: Jan Kiszka Link: https://lore.kernel.org/r/20200910163109.235136-1-linux@roeck-us.net Signed-off-by: Guenter Roeck Signed-off-by: Wim Van Sebroeck Signed-off-by: Sasha Levin --- 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 87eaf357ae01f..adf015aa4126f 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.25.1