Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp475569pxx; Wed, 28 Oct 2020 09:10:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFuQ3RpxHyhVucxp/znOYepySHnIyKQXhJyvnF6PDY9fgrKPTSKFmcvUf8NFCNQTCgbJys X-Received: by 2002:aa7:c3c8:: with SMTP id l8mr8535268edr.189.1603901424348; Wed, 28 Oct 2020 09:10:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603901424; cv=none; d=google.com; s=arc-20160816; b=HZ99OWeH6uG5EgIS5T4WZ7QgmAxOQIwTi0THQR+x0VcHlPguAiW+eKigfqn8CiZOJN ysLyxegGrGha8kBd+almCeXEaV5vAYldEATnyOnzr6kPlkj64LJHjdR8GjDyb2cF/Z74 ABeMSXE23IH7EiOL5bt5W7Jk8dRoXrQAP4PsuxLy+8gTj8eAQSrzhD971OlQ4k6HW3MS x2TIsKVZKI5iyGhtrL/v2TQI0W5sjUrC0kw+DgiKzyNvFPvagDU7g0MyaQLPkqfjU+DB V41NWF2K1yQA78fGQFxtDk6jtibIf9nfkTcmYaKDoTPSmmNAEmsyhugR9dM7jk1Yva0K Qw4A== 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=DrfAS6OwdXlC0UDrMT6FQHve7g90WohDZFx9T9EQl//MIeGbLYWxBu5qVXO7abNtVt 0MxKCA/m+dO44gcCxAvaQNjyGAobWk0klUDTXq7WTF+V6H1qOsMZtfGqI2YpIxR7aCUv gMoIr4LeY02J6BmGpVP0lGq4VmfmcmMaijx11M0OzRjRA5pCWWZxaSLuT8+5UHX6HJ8l XLyQ3eijO4Kq75Vh+G1QyeEwFGgl9E0unh+4YYFVIurp+Rj8msG2NEsV2tpnTKwwMayz XrCY1wNw9RbXI2Wcf5wr8imuYDXBPlKuOM8fEdJOalBgGrR0eqsMzlrbGbjiksUajS4j QRZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="k4xUk/bh"; 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 ay11si3493425ejb.331.2020.10.28.09.10.00; Wed, 28 Oct 2020 09:10:24 -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="k4xUk/bh"; 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 S1814940AbgJ0RAn (ORCPT + 99 others); Tue, 27 Oct 2020 13:00:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:44102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755298AbgJ0PIs (ORCPT ); Tue, 27 Oct 2020 11:08:48 -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 87BCA206F4; Tue, 27 Oct 2020 15:08:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811328; bh=HsMses8PpoHYK+jDdQveb7EZ8eGzvNjnqamAlKSyMTw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=k4xUk/bh7X6S8Fs2dsFfvYUagMSQW5fj8La2dOhultgD3bSFSmC4CzSgm1FGKv4iW nrQ1raH2M6kclM8QZqii96b+RCizwarBzZsaYHSHPmwvUIxmn066Q9Xhz+D0XLO/l3 nosPivMsgUCxwla8efAKIGluJSll0eb1ttUpd99w= 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.8 455/633] watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3 Date: Tue, 27 Oct 2020 14:53:18 +0100 Message-Id: <20201027135544.058942052@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@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