From: Liu Ying Date: Fri, 3 Apr 2015 04:51:05 +0000 (+0800) Subject: video: mxsfb: Make sure axi clock is enabled when accessing registers X-Git-Tag: omap-for-v4.2/fixes-rc1^2~148^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fa3b4c4a78a5db3502ab9e32630ea660ff923d0;p=pandora-kernel.git video: mxsfb: Make sure axi clock is enabled when accessing registers 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 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 Tested-by: Peter Chen Cc: # 3.19+ Signed-off-by: Liu Ying Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed