Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1104789pxa; Thu, 20 Aug 2020 02:35:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNDiygwDzD+ZTPrlP+QmhJU3GCgB2meRPas+SSbPu2dFHKTM5lrjD5//gxKQAHX2wZtX0S X-Received: by 2002:a17:906:c18d:: with SMTP id g13mr2278366ejz.239.1597916139319; Thu, 20 Aug 2020 02:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597916139; cv=none; d=google.com; s=arc-20160816; b=HoEEnmBEQd2FinYT6FPkk5tKojLMNkLLZpIXZimTbPQPuQVpddUkMkB9Qm7C5A9OHo pNqYt3q1cUJQ9WdNmHXQ4SZuVkPPfiE+KGqBo0rYYZiODqnl4rGKilZ+k+tgwV/4p+t3 G0puy6mqxXFVsEkCwN2fSjwtr8dTXJfFAwzWb/wltb+uidGyd5P7jxgsVgjj5YNdagTh PS8laJ4wfU7ne/I4hm6C8iMsvt57Yx8Ef+mjZ5KuAvHn2/3mhzk4pjbZ2MSRAUQhFiEG wY8BY3Kze2CrbGEraInuGquGa30SmUi8B8yR6pRrRTdX6swq4G/SQN6zTIut108EHlQc /rlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=kpNX5fv0q3/l3KafYk9HEvUGeTaGxhohJ3DNKw39WR0=; b=smqIvSQcjaSy3YcT6u0CMAY+RyVNnrAhVh4SsY0ooxFP5DCS2oEtf5nfEeusstGvDV TswQAVuIzB1Q1HuXQrM2KzI7u7/hDY8bd0sPR8JyYsQOb3gS5LQ/2WICXg2UekskSZiU MpwKd6vgG64oi7Sm0LuCD7s9GySgf6bWBzKgsPsSnkvZNa1HtU1c1TIifFigDz4KVWM1 Pe7Iiv7Z/SwB01rI7pQeC55KBmHLV3eEDoU8BNDjVY6CRs8CCvZ0Q6jxyvJECfDBGpkZ K6m2FT5s0AhDk3dCOdXUYaPGOjOV7IzJWJ2pZQ6EI5AkcU+1t9UZV4d5QBXv22iRDZTD 0AcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=hVhDLkCs; 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 l25si1035932edv.47.2020.08.20.02.35.15; Thu, 20 Aug 2020 02:35:39 -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=hVhDLkCs; 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 S1728465AbgHTJe2 (ORCPT + 99 others); Thu, 20 Aug 2020 05:34:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:43764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728241AbgHTJbl (ORCPT ); Thu, 20 Aug 2020 05:31:41 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (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 5B19C207DE; Thu, 20 Aug 2020 09:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597915900; bh=KkTpjo3ubxOjKtyVT6Vor4FVC+SUr0Oso39gyEFrEDs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hVhDLkCspo1RVxZ0AAtugtVlUP8nxU5TZ/MP9u6HJ0htFn4AVwAZq4SXpKkV+Z4ap uL4GHkwth4eb48Fpy/fQPvj4UFKtNNU7exiNeo+A9ECWE9wGd3+66y13cOssQYagwK AMr9BlFMgQ8IcVuPO8uFtxjdUpa0kcSJazufQOlg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonathan Marek , Dmitry Baryshkov , Stephen Boyd , Sasha Levin Subject: [PATCH 5.8 157/232] clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL Date: Thu, 20 Aug 2020 11:20:08 +0200 Message-Id: <20200820091620.415414589@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200820091612.692383444@linuxfoundation.org> References: <20200820091612.692383444@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Marek [ Upstream commit c8b9002f44e4a1d2771b2f59f6de900864b1f9d7 ] 0x44 isn't a register offset, it is the value that goes into CAL_L_VAL. Fixes: 548a909597d5 ("clk: qcom: clk-alpha-pll: Add support for Trion PLLs") Signed-off-by: Jonathan Marek Tested-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20200709135251.643-3-jonathan@marek.ca Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/qcom/clk-alpha-pll.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clk/qcom/clk-alpha-pll.c b/drivers/clk/qcom/clk-alpha-pll.c index 9b2dfa08acb2a..1325139173c95 100644 --- a/drivers/clk/qcom/clk-alpha-pll.c +++ b/drivers/clk/qcom/clk-alpha-pll.c @@ -56,7 +56,6 @@ #define PLL_STATUS(p) ((p)->offset + (p)->regs[PLL_OFF_STATUS]) #define PLL_OPMODE(p) ((p)->offset + (p)->regs[PLL_OFF_OPMODE]) #define PLL_FRAC(p) ((p)->offset + (p)->regs[PLL_OFF_FRAC]) -#define PLL_CAL_VAL(p) ((p)->offset + (p)->regs[PLL_OFF_CAL_VAL]) const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = { [CLK_ALPHA_PLL_TYPE_DEFAULT] = { @@ -115,7 +114,6 @@ const u8 clk_alpha_pll_regs[][PLL_OFF_MAX_REGS] = { [PLL_OFF_STATUS] = 0x30, [PLL_OFF_OPMODE] = 0x38, [PLL_OFF_ALPHA_VAL] = 0x40, - [PLL_OFF_CAL_VAL] = 0x44, }, [CLK_ALPHA_PLL_TYPE_LUCID] = { [PLL_OFF_L_VAL] = 0x04, -- 2.25.1