Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2848924ybi; Sun, 9 Jun 2019 22:56:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqyow6e4sddOzPNnA3wmyJDJ7VLyCs/USH1v+PdW2fl8OnpeormQOws25urcw55qAbiU6Ukn X-Received: by 2002:a63:31c7:: with SMTP id x190mr14192508pgx.376.1560146196752; Sun, 09 Jun 2019 22:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560146196; cv=none; d=google.com; s=arc-20160816; b=wHPjjH2UalmBBPos5GAaHthWzH1Ykd4FPTooNjVPL1Jx9fJYC4bYgANcJ6ee81RCAT OYcRbT8jWDzcge6dE/OwMhxaFNvv8w8Gb+W7146bRbVZpVrJXU0KPu9trREplK4ZQ7f/ GdppiY2sP2ERZinxNaMrzuWEIRyHB5T/f4sL8F1BAmduP8aB4z2rSVlmAaHX1+xJHaxV 5ecdBZoUkOq+btzcDZ7z8yMpBfXUFdjKbemQm+sPl4tFcYWk6QBIZmRTWZGiTgDEfx+2 si6HQsg1vh8xs0Sy4I8IvbWDSgXfs2wzDpt9+E3vbD3yZhwrAV0KMrCYv68YXD2xJe4X 2eng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=88EJW6e18Sx754hOxy6A5WcO6DW4eRORS2PWHCFE64I=; b=v7wfUgqFpPJHl+hQKsFAurAUEei5uSq64EB9Kax+vDR4kwNCGXCiEKrt6QopTIx7OG eJcAbjqV4fOaHJ5D2eU3WIPEdKi5s+HTHT/maBoAuCDDC4DkowDyKiW3299/gU/Fd4xV SBU3TDkvE5VEJgDepxmNDD+7Gsa41GDgLjV0kC4cbZbh4CNp19TDbZQ35j1V9zfxHoA8 uY9VxbG+XKVhjH1H+hh1aUbK1+0Hv6XnjfZ8I6g+BNqvE+MbMyRF4+2ECxafSyiLhoJh 009TSSeqj/qmfCX1zXXG/xZB4EeNGXpEzM4DcP08hKIF5aBUhTPZcRJT0lz3Dkh70+06 WDaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IMlgVFjy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o39si9526751pje.28.2019.06.09.22.56.21; Sun, 09 Jun 2019 22:56:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=IMlgVFjy; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387714AbfFJFyT (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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.