From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758629AbbCDGPD (ORCPT ); Wed, 4 Mar 2015 01:15:03 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41993 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758596AbbCDGO6 (ORCPT ); Wed, 4 Mar 2015 01:14:58 -0500 Date: Tue, 3 Mar 2015 22:08:17 -0800 From: Greg KH To: Liu Ying Cc: linux-fbdev@vger.kernel.org, Peter Chen , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , Fabio Estevam , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] video: mxsfb: Make sure axi clock is enabled when accessing registers Message-ID: <20150304060817.GA12241@kroah.com> References: <1425448735-21490-1-git-send-email-Ying.Liu@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425448735-21490-1-git-send-email-Ying.Liu@freescale.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 04, 2015 at 01:58:55PM +0800, Liu Ying wrote: > The LCDIF engines embedded in i.MX6sl and i.MX6sx SoCs need the axi clock > as the engine's system clock. The clock should be enabled when accessing > LCDIF registers, otherwise the kernel would hang up. We should also keep > the clock being enabled when the engine is being active to scan out frames > from memory. This patch makes sure the axi clock is enabled when accessing > registers so that the kernel hang up issue can be fixed. > > Reported-by: Peter Chen > Signed-off-by: Liu Ying > --- > drivers/video/fbdev/mxsfb.c | 70 ++++++++++++++++++++++++++++++++++++--------- > 1 file changed, 56 insertions(+), 14 deletions(-) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly.