From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 04 Mar 2015 06:08:17 +0000 Subject: Re: [PATCH] video: mxsfb: Make sure axi clock is enabled when accessing registers Message-Id: <20150304060817.GA12241@kroah.com> List-Id: References: <1425448735-21490-1-git-send-email-Ying.Liu@freescale.com> In-Reply-To: <1425448735-21490-1-git-send-email-Ying.Liu@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 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.