Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp701134pxb; Tue, 5 Apr 2022 19:23:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTCF40cX8aKMrhjrCiG4SZSStgLd+DsQ7tlCCc1n9xsZOK4EKRwACyt6kkF5JeJ2P7V9jG X-Received: by 2002:a17:902:8ec4:b0:156:b8a6:f9d8 with SMTP id x4-20020a1709028ec400b00156b8a6f9d8mr6621650plo.122.1649211797223; Tue, 05 Apr 2022 19:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649211797; cv=none; d=google.com; s=arc-20160816; b=d5z8cd0YQPxMaYVotokXb5IkDhSCCWKghslzlY14Z2iGNtBzdlVuMyE8ZWCh0JTu6s W62gdzK2c3lHBWZ/dJpS+KrcVZU0W8erKzlyGc5so8GaZm0Iz9GE58Ihxftm5uCEfgc6 NcDTDbIQJqhv+E9oGl/5ZaPqgiIUq3XtRQ3m82LnFCsJoo4epWltN4CpDzBnm4k2fXZz l64sV5XiyCJU5YIcYeNDym8oCL16K7sewvOYGTRA0UyqKtUB1BruKl3SfD8FL6FEVocv 1UreSKTt5ghCRwDGmhZPaWYFhxojXk/SLbTr3pq93eyei3y2N87V+sDDoRuQQZ3JCLW3 O1Ww== 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=XRkRDD3AAaZdYA0nzbGLK/YzSewSE4HAYRtNop3u5Co=; b=YEK+hgmIksu0aV2trjz5vmZsxcJWkAs6OIs4nIftUZmNpCsdSjnubHW2tnYv9j7BYQ FXo4ifrK9/d0Q6BmQCIN8jXGpQgC8K1uvnV8Ga0/AC4MEbhD5IM+yCaAD0unC8IKAWf7 wWEXtqmpqNOOISjRC74nKP1v2zLjXiMPc3B1z6r9oNNs1NSzgOr4aE4CPYbnjiDXEaAY H++ja7Gfjeti+JVy4Z7LmfhzIGoaZJCGH654cBz6B5alEqiheSsx8+vOoDwjvADwOVhD EFRJcpdreWaUWYOhHmRXkAcz7DNbPYjOoi7BJeFz3k8WDvvRm5v3xXNuX/HIukQ4nk1a 4GLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BEiN3f2u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a170902e88300b00153b2d1657csi14692639plg.388.2022.04.05.19.23.02; Tue, 05 Apr 2022 19:23:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BEiN3f2u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1346386AbiDELBR (ORCPT + 99 others); Tue, 5 Apr 2022 07:01:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234751AbiDEIjl (ORCPT ); Tue, 5 Apr 2022 04:39:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5802C6306; Tue, 5 Apr 2022 01:33:18 -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 dfw.source.kernel.org (Postfix) with ESMTPS id EBC1160B0E; Tue, 5 Apr 2022 08:33:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 03AA1C385A1; Tue, 5 Apr 2022 08:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147597; bh=nYF/5LlqJxR+dXjtyHU6EiTxJe3DQ65PTODezaKI2RE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BEiN3f2unSOBTX8I7ML+pZ3rK8wrwjH1WKCKEWJ5ifAU6nuwE7W4L6XwDGTzI13MV LjG25vJsaYSCggLOHbEvelHrHrn3XuM6oiIDbu2lBT/mWOij/ceZU/gkffct6TLDtN PXCBZNe9CTAtUNUoPiXqaCVyY7cquTqZ3z7ZrS+A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kunihiko Hayashi , Stephen Boyd Subject: [PATCH 5.16 0053/1017] clk: uniphier: Fix fixed-rate initialization Date: Tue, 5 Apr 2022 09:16:06 +0200 Message-Id: <20220405070355.759180833@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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: Kunihiko Hayashi commit ca85a66710a8a1f6b0719397225c3e9ee0abb692 upstream. Fixed-rate clocks in UniPhier don't have any parent clocks, however, initial data "init.flags" isn't initialized, so it might be determined that there is a parent clock for fixed-rate clock. This sets init.flags to zero as initialization. Cc: Fixes: 734d82f4a678 ("clk: uniphier: add core support code for UniPhier clock driver") Signed-off-by: Kunihiko Hayashi Link: https://lore.kernel.org/r/1646808918-30899-1-git-send-email-hayashi.kunihiko@socionext.com Signed-off-by: Stephen Boyd Signed-off-by: Greg Kroah-Hartman --- drivers/clk/uniphier/clk-uniphier-fixed-rate.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/clk/uniphier/clk-uniphier-fixed-rate.c +++ b/drivers/clk/uniphier/clk-uniphier-fixed-rate.c @@ -24,6 +24,7 @@ struct clk_hw *uniphier_clk_register_fix init.name = name; init.ops = &clk_fixed_rate_ops; + init.flags = 0; init.parent_names = NULL; init.num_parents = 0;