Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2829807pxv; Mon, 12 Jul 2021 03:00:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNoDr6zRUICq1KetCAqf+gbXzWCt1RgMZ/9Ve/qFJPWND1kVVRcBWQNNm9nsTuFc9IGE/s X-Received: by 2002:a92:d28b:: with SMTP id p11mr4956140ilp.250.1626084017856; Mon, 12 Jul 2021 03:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626084017; cv=none; d=google.com; s=arc-20160816; b=vt+vQiUuuSgxOanV2f+ViwDoxAwdsC/eh/XX0sQNuCIqec1+wfPJnuF5BwRmutr1MK Qp5sxkO5j83IQCcjBJdfbdZLkUeXkHKGhgPayIVik2/HQAUKVu8KDnt43rwunbNt9CYC FXIpteMRf4OaHgYOomk1NQT7FbpBZCqAukT1WdNFG/KJwtkMEYKYm49O6+F4kOuXebel F5Wvdnf6qliu2bk/tOalA3ylZAGvP9t/5LqIXqNFg0U6JspbRTgghzZ5bgGqevjRC6go CUz3s5XqkGqmT325MyGhgnk+CHRDKvvBH6BNG3JYm2IIecLfwLM165PszyLtJXArK3VO 2HQA== 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=PO4acOkKC7k5YeRYiZWiPD3CXgSlh8bXPhJzAJO9d8Q=; b=HxbmUbP5NKXdL8q+eYi5tVD796Q3GUiayA2om6aS0j4sGk5eEzcTg+DnzI/p9mDbC4 pd/shhT3KCR7lJtfHfA9wH1Vi1K2UyzbkJk1OQUGuuPkq2Hy+OdyeCRpoYnmy4GH9k1h +HtXThxjqMIxGUgcp8NA6WA8Rs7+eAWiC6b9zWxjVClEApHwjlS2VtRhwCdAycbPd0YZ oAwsflVQkrIG4KJ66/WvQSKAIzxHkZ0qtpyvALZshyUigVysrMnanv3GrtbpU3FbbEB9 BNV2PsU6olfYT0S52Bd3o2tQXw1y5RrsrbDzQghVpcz8o+rDDwZnesgQAk7YkBjEZXxh swsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gCKnhUMN; 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=pass (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 u3si7783173ilk.94.2021.07.12.03.00.04; Mon, 12 Jul 2021 03:00:17 -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=@linuxfoundation.org header.s=korg header.b=gCKnhUMN; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244162AbhGLHK2 (ORCPT + 99 others); Mon, 12 Jul 2021 03:10:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:41894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236064AbhGLGsd (ORCPT ); Mon, 12 Jul 2021 02:48:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 68A686101E; Mon, 12 Jul 2021 06:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626072252; bh=osEe53rcdbRdc77matoHXJOjQFg4acVBYqv9Yb7VUY8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gCKnhUMNNAoG/4fgZmU2/o6rTwyZBxDAlNsAiUKkKZgL0l0OKKg7J0ip+XA6AIyPX yX6RB2w2jJdcgYRBW0WW3Es+ws6tlZHzIH1Gmy3kS1m4T82LQcK48DAtKH5gSselxM HquEI/3eaL8zvngSmy7PlsJ5vtkiIT6qmFqDK0Ok= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Cristian Ciocaltea , Manivannan Sadhasivam , Stephen Boyd , Sasha Levin Subject: [PATCH 5.10 418/593] clk: actions: Fix SD clocks factor table on Owl S500 SoC Date: Mon, 12 Jul 2021 08:09:38 +0200 Message-Id: <20210712060934.134950796@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060843.180606720@linuxfoundation.org> References: <20210712060843.180606720@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: Cristian Ciocaltea [ Upstream commit fe1f71e338d77814da3ef44e9f64d32981a6ccdf ] Drop the unsupported entries in the factor table used for the SD[0-2] clocks definitions on the Actions Semi Owl S500 SoC. Fixes: ed6b4795ece4 ("clk: actions: Add clock driver for S500 SoC") Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/196c948d708a22b8198c95f064a0f6b6820f9980.1623354574.git.cristian.ciocaltea@gmail.com Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/actions/owl-s500.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/clk/actions/owl-s500.c b/drivers/clk/actions/owl-s500.c index 75b7186185b0..42abdf964044 100644 --- a/drivers/clk/actions/owl-s500.c +++ b/drivers/clk/actions/owl-s500.c @@ -127,8 +127,7 @@ static struct clk_factor_table sd_factor_table[] = { { 12, 1, 13 }, { 13, 1, 14 }, { 14, 1, 15 }, { 15, 1, 16 }, { 16, 1, 17 }, { 17, 1, 18 }, { 18, 1, 19 }, { 19, 1, 20 }, { 20, 1, 21 }, { 21, 1, 22 }, { 22, 1, 23 }, { 23, 1, 24 }, - { 24, 1, 25 }, { 25, 1, 26 }, { 26, 1, 27 }, { 27, 1, 28 }, - { 28, 1, 29 }, { 29, 1, 30 }, { 30, 1, 31 }, { 31, 1, 32 }, + { 24, 1, 25 }, /* bit8: /128 */ { 256, 1, 1 * 128 }, { 257, 1, 2 * 128 }, { 258, 1, 3 * 128 }, { 259, 1, 4 * 128 }, @@ -137,8 +136,7 @@ static struct clk_factor_table sd_factor_table[] = { { 268, 1, 13 * 128 }, { 269, 1, 14 * 128 }, { 270, 1, 15 * 128 }, { 271, 1, 16 * 128 }, { 272, 1, 17 * 128 }, { 273, 1, 18 * 128 }, { 274, 1, 19 * 128 }, { 275, 1, 20 * 128 }, { 276, 1, 21 * 128 }, { 277, 1, 22 * 128 }, { 278, 1, 23 * 128 }, { 279, 1, 24 * 128 }, - { 280, 1, 25 * 128 }, { 281, 1, 26 * 128 }, { 282, 1, 27 * 128 }, { 283, 1, 28 * 128 }, - { 284, 1, 29 * 128 }, { 285, 1, 30 * 128 }, { 286, 1, 31 * 128 }, { 287, 1, 32 * 128 }, + { 280, 1, 25 * 128 }, { 0, 0, 0 }, }; -- 2.30.2