From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9C3AC468BC for ; Mon, 10 Jun 2019 05:54:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 753A920820 for ; Mon, 10 Jun 2019 05:54:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560146059; bh=SdTHp/TyZpsY2HHoAFBFOvkMbdzwPg4g3t/s7P1llZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=04jl5XLAyLiw5pu6zXrDbkMQWu7KkDCmwJrndJiaFL7CEDiHopyU/VADxYEZ7NRH2 /dd5SyD1y68ZlXl8VaVgAEp95oMtaOWygEvzSVWU4NCTqAxQoN8z8muZWTbiehyoVs P4cCSIm04EVV4jY2lUSXcFWfGvnMVqybD2il5p64= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387614AbfFJFyT (ORCPT ); Mon, 10 Jun 2019 01:54:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:34362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387553AbfFJFyS (ORCPT ); Mon, 10 Jun 2019 01:54:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCDB5207E0; Mon, 10 Jun 2019 05:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560146058; bh=SdTHp/TyZpsY2HHoAFBFOvkMbdzwPg4g3t/s7P1llZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IMlgVFjyjnXtceUTFfBCKuHy/svWO6lT6BbHXv7JMkg43JBZkqeA/rE0LPbldV1lX JGzDs64HZz09AaDFyKmHtObcluRExtZsIWY7gfWxobq84KQiYsM8cgF3yU8usg6hYD 0o9avCKQZfMZyAGqos8pewoPXYsXKsF0lalC28Xw= Date: Mon, 10 Jun 2019 07:54:15 +0200 From: Greg KH To: Weiyi Lu Cc: Matthias Brugger , Stephen Boyd , James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, stable@vger.kernel.org, Biao Huang Subject: Re: [RFC v1] clk: core: support clocks that need to be enabled during re-parent Message-ID: <20190610055415.GC13825@kroah.com> References: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On Mon, Jun 10, 2019 at 11:44:53AM +0800, Weiyi Lu wrote: > When using property assigned-clock-parents to assign parent clocks, > core clocks might still be disabled during re-parent. > Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled > during re-parent. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/clk.c | 9 +++++++++ > include/linux/clk-provider.h | 1 + > 2 files changed, 10 insertions(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.