Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp592968pxb; Tue, 5 Apr 2022 15:15:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyubOsslDkWc3j3i3NOgQuhGB0jM6gYN6516bvYisricM20F//sKIKhpZSN4Gm9l3/a4g9T X-Received: by 2002:a63:8f49:0:b0:398:7c41:89cb with SMTP id r9-20020a638f49000000b003987c4189cbmr4426684pgn.578.1649196935214; Tue, 05 Apr 2022 15:15:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649196935; cv=none; d=google.com; s=arc-20160816; b=IjprarzKLK1RbiCYunMw1nn0iLtXaRiJ8qVA9yE2wpoJhAaZHSZPvXf7XfgamqC6ZN Xw4o5a3n1CHitaA7WureO6WTrBIGCBbQY5dkkmDhOa2NQR3lO+NZew7+lnFpD89FWAqx dLGF18J86DDx5PJhNEPZkN0edoUm4unUJxhhcUddHrvFwNGnzaOvmV0klGlidsyxnzMe MFajCIVw/oR4gd5UzihHKUM2gGwq9MroAmgG1OpbbLuKlFDo2/vamSw9oZPTiyKTJZoH EHCW7/hTEfed1wXI7e2pAQq+M57czK4uE6ZXm60baPTi/uULp/2xLDZWKaGpS0bdKrfv EKsQ== 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=bb7sX5FfWttG8RjYgFVhEdk4zmEcl0IvK/wfQFG4X0ExSqQdsJZZX0+aFBY3PexoVM gHMifgxO0ym8jUdwFfFveIl9hEUO7eMFDzEVlZT0EnOMoLeBIeiT9043Y+f0hP54eGf7 uhDkAOn2pHbc916b10IjHRtuPT21ywVVAq5KuTSvWysMqaa+87W8W50B0OpcSuP9DLhH zIyHH8uh+kUkos0A7nS5ku1D/Z8up8Lxa6CU3YpSeBwyq4TgOApPEc5cFNKCk2ESx6fC TFEiAVh1Rdwk+tpKPuOoJr13WIXePjqZJxHbFToexZ+KZQlNavKdRKYiFKDxvYl4T69m 5NvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zIsL0qT0; 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 k10-20020a056a00168a00b004fa3a8e004asi14520381pfc.257.2022.04.05.15.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:15:35 -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=zIsL0qT0; 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 72A3B18B26D; Tue, 5 Apr 2022 14:57:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381204AbiDEOQm (ORCPT + 99 others); Tue, 5 Apr 2022 10:16:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238849AbiDEJdC (ORCPT ); Tue, 5 Apr 2022 05:33:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0E271B6; Tue, 5 Apr 2022 02:20:24 -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 3D6AB615E5; Tue, 5 Apr 2022 09:20:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 489ECC385A2; Tue, 5 Apr 2022 09:20:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150423; bh=nYF/5LlqJxR+dXjtyHU6EiTxJe3DQ65PTODezaKI2RE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zIsL0qT0LCyHMGk34OFJGqKb25QaIfYG1VtVmPy0I6vYmvGbl32YHa/FqengTR93U 2BM4MAANTk+g8a1Cq+E1RzD5atFfWQvBWc9rgkYgaHxORgnR4DHfc53qOerrKkdhHP hK8c7jfV9pxLjjJcpQlKs81EzO+JbGgzmwOz3+dA= 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.15 051/913] clk: uniphier: Fix fixed-rate initialization Date: Tue, 5 Apr 2022 09:18:33 +0200 Message-Id: <20220405070341.350218254@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: 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;