Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp984985pxb; Wed, 6 Apr 2022 06:03:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw53W7SzhrpPo9HREdK6Rx8arSMPym26A9X+wHuTo9Bl3QUQa/HqqnkT+BAwrHwkwCEb/sW X-Received: by 2002:a05:6638:3881:b0:321:4499:27c9 with SMTP id b1-20020a056638388100b00321449927c9mr4365814jav.53.1649250223132; Wed, 06 Apr 2022 06:03:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649250223; cv=none; d=google.com; s=arc-20160816; b=NmqxCmTpuqovaBF6TC5NkBEGE6K3O6saekJ47fsqWMQbgrlvluHYaLrsJLeD2TdjFp bXJbxtLY5hbHpkpLr+5jy5n3fRwB4LdKcauD28+Dap45eQ94IjHRxzLsqyNYioio5/lt AQDzFye9FxdXtgG0mOi0ncKGsHejY8BrbZo0xNJGlcJjRH2CyuPMUK2FhvKd64N643eM DmWPsI08NWBSbqIbinyFrieqS4Ul0p0ZmlHw0b8wnxmzgljmCq41a2+06eSQStnfpGt9 n6r4kIL1VjeTh6qlRVQOelY80jvqXMx/RuavxMDlHSSN/sX0Vvm+cY9lygXuPfdUlGsi 1E3A== 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=u/Q4ieny7eXcuAWPUPAJhrkGVPNlDU2kxSDKelTdyY4C5Kt4jgHA76uhv7XuBbgjjl b6GDLloREzH6CxnkKFFCDkTsTs2cyQer0FtBdmGjkJkwkxvP6b+bwmJ9EfWsDGxqSosj VEcTKqE/6iUmFZFiqaYFJg7uXTO0N871GNfsccXKjjqrbEnyl89bdzOwtWaTGV9CMVlo QYLQBzZFYSqTNY5Wz+rxL4B7YGWJjZLxYIixTQcoxR2VKV6cbo/4mcYPqPNLEl4qCwX/ oOLT5qyRb/vXhv7UKf4q17ksbhlXTxNUY6fHgDzUtqeVi9woesskZE0mb7dvPt/Q/VGf CmdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bkVZdfOv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p14-20020a056638190e00b00321452cbc17si8292637jal.30.2022.04.06.06.03.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 06:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bkVZdfOv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id DEDEE19B057; Wed, 6 Apr 2022 03:23:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1578633AbiDEXYR (ORCPT + 99 others); Tue, 5 Apr 2022 19:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349505AbiDEJt6 (ORCPT ); Tue, 5 Apr 2022 05:49:58 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0F201C9; Tue, 5 Apr 2022 02:47:58 -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 9FFABB81B76; Tue, 5 Apr 2022 09:47:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE3A6C385A2; Tue, 5 Apr 2022 09:47:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152076; bh=oAyDcBuvjmsJalWEXosrvxoNCoCAuiWwe1NdEN4k2bk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bkVZdfOvdnBR3Vm4YqGwMNzdpudBFSUioPXPWheIWZs1R8UHosysHsqBtvquZJKHF XIE/HO0C+cL5OrhoDxxiwKt4rHSYlUaTmXJsXECW589/XhNgPV4hxS/ya5wq2fKfCC ABZQ10OPAXSW5lhDqNJNO265SAzNNCzWP/qBYr24= 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.15 619/913] clk: actions: Terminate clk_div_table with sentinel element Date: Tue, 5 Apr 2022 09:28:01 +0200 Message-Id: <20220405070358.395006809@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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