Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp722543pxb; Tue, 5 Apr 2022 20:21:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOboqEuBtCAqY1QIC1caWFC8B5OTmA1YkOxgC22vnoiLv2QSf9mvFSjIOKDqZT/MwUIN4I X-Received: by 2002:a17:903:4115:b0:156:8951:6520 with SMTP id r21-20020a170903411500b0015689516520mr6797622pld.25.1649215291891; Tue, 05 Apr 2022 20:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649215291; cv=none; d=google.com; s=arc-20160816; b=A1G4wdmXFw4PYwWoIcvJlgnHSYPjNsQ6rOKRQH6k+Cv7njjGTechYMQemFrre9u0HR crDvkla6rYkjfoUGrk5KzffOBMP6RB/VJXScVsBiP/3gB0SDt1TmLVoZUcx6gfR7pzyg qh2+OMI0EfO6HihCRCGmTVRE5WSJIrBt9fm2Lr6Xvs23un8t7pinlH8F3OmawtM2q0UR H+aYtaBylRVqXgqF36ON46j5qiwp18f5H3axMA6Nf88S0jSaQRPwIjyA8E1P7x7Kl5rF U+hduO/Wnb/CRJFSBOTV/JdBNU6W9u2g/c3QB1GLYGjZ1m3tXkGjhBlbJin6182wuOS8 i2Wg== 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=sDF2RcoywlF3GSvrFYYx/2v4gkidxNMb5jkqn7K+F0A=; b=odNdxHffr8xahEcByD4dhuuPrUAYJkiMj1KNbHIy0aduzJcqe1AZJDCR4BaKuhf1jj XQiNm7c7Up4vX9RF5u2XhspS3OAtnFx7WMAVC8bh4fGd9h0mjhRE0ZDsUkUa0ISXx/o4 t4F8tiwwXHryljFYeKbFueZNoXhGU6p6MFKHStOIUA3k2adlZn3ijvbmieSZXoUOaAzl tD5L2hFHOGL+bOz+rJkMqyN0PtQUQ4TebY4f/Uv65D7aM4yQvOJqKGvXjOU3laJUx5e+ aFtsbGSwPx7LUeWz0cJ3yJGnQJpMxV7bmT2JScaXE1E6xaB2hb+DlJQevlhVshvd/M/d +kAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gzxDeXAD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j13-20020a17090a840d00b001c6acc3b2b3si3703948pjn.23.2022.04.05.20.21.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 20:21:31 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gzxDeXAD; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 38E9F30CB95; Tue, 5 Apr 2022 19:55:40 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353445AbiDENHQ (ORCPT + 99 others); Tue, 5 Apr 2022 09:07:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344001AbiDEJQo (ORCPT ); Tue, 5 Apr 2022 05:16:44 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D3DDDF61; Tue, 5 Apr 2022 02:02:29 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id F0B43B80DA1; Tue, 5 Apr 2022 09:02:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 65137C385A1; Tue, 5 Apr 2022 09:02:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649149346; bh=oAyDcBuvjmsJalWEXosrvxoNCoCAuiWwe1NdEN4k2bk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gzxDeXAD7/y1HF+zIImc3SayceNoUJwCuld6xHkllXH96w7jRtkg4xHWB4RUQhdBG BxQssGr3zL3LDm0Qd79y46LXOhlO1GzAzB8c5aG9qHXkGR05dYCMwgtB0mDBQ94a27 ahYGVrJL/45kGnWfVwClWBGUB3y81mCwUgdj28Dk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Jonathan=20Neusch=C3=A4fer?= , Manivannan Sadhasivam , Stephen Boyd , Sasha Levin Subject: [PATCH 5.16 0684/1017] clk: actions: Terminate clk_div_table with sentinel element Date: Tue, 5 Apr 2022 09:26:37 +0200 Message-Id: <20220405070414.580442518@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonathan Neuschäfer [ Upstream commit d8a441e53e2434b1401e52dfd66b05263e442edc ] In order that the end of a clk_div_table can be detected, it must be terminated with a sentinel element (.div = 0). In owl-s900.s, the { 0, 8 } element was probably meant to be just that, so this patch changes { 0, 8 } to { 0, 0 }. Fixes: d47317ca4ade1 ("clk: actions: Add S700 SoC clock support") Fixes: d85d20053e195 ("clk: actions: Add S900 SoC clock support") Signed-off-by: Jonathan Neuschäfer Reviewed-by: Manivannan Sadhasivam Link: https://lore.kernel.org/r/20220218000922.134857-2-j.neuschaefer@gmx.net Signed-off-by: Stephen Boyd Signed-off-by: Sasha Levin --- drivers/clk/actions/owl-s700.c | 1 + drivers/clk/actions/owl-s900.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/actions/owl-s700.c b/drivers/clk/actions/owl-s700.c index a2f34d13fb54..6ea7da1d6d75 100644 --- a/drivers/clk/actions/owl-s700.c +++ b/drivers/clk/actions/owl-s700.c @@ -162,6 +162,7 @@ static struct clk_div_table hdmia_div_table[] = { static struct clk_div_table rmii_div_table[] = { {0, 4}, {1, 10}, + {0, 0} }; /* divider clocks */ diff --git a/drivers/clk/actions/owl-s900.c b/drivers/clk/actions/owl-s900.c index 790890978424..5144ada2c7e1 100644 --- a/drivers/clk/actions/owl-s900.c +++ b/drivers/clk/actions/owl-s900.c @@ -140,7 +140,7 @@ static struct clk_div_table rmii_ref_div_table[] = { static struct clk_div_table usb3_mac_div_table[] = { { 1, 2 }, { 2, 3 }, { 3, 4 }, - { 0, 8 }, + { 0, 0 } }; static struct clk_div_table i2s_div_table[] = { -- 2.34.1