From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH v2] clk: mediatek: mt8183: Register 13MHz clock earlier for clocksource Date: Mon, 10 Jun 2019 07:53:37 +0200 Message-ID: <20190610055337.GB13825@kroah.com> References: <1560132969-1960-1-git-send-email-weiyi.lu@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1560132969-1960-1-git-send-email-weiyi.lu@mediatek.com> Sender: stable-owner@vger.kernel.org To: Weiyi Lu Cc: Nicolas Boichat , Matthias Brugger , Stephen Boyd , Rob Herring , 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, Dehui Sun List-Id: linux-mediatek@lists.infradead.org On Mon, Jun 10, 2019 at 10:16:09AM +0800, Weiyi Lu wrote: > The 13MHz clock should be registered before clocksource driver is > initialized. Use CLK_OF_DECLARE_DRIVER() to guarantee. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/mediatek/clk-mt8183.c | 46 +++++++++++++++++++++++++++++---------- > 1 file changed, 34 insertions(+), 12 deletions(-) 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.