lkml.org 
[lkml]   [2015]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] video: mxsfb: Make sure axi clock is enabled when accessing registers
On 03/04/15 07:51, 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 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 <peter.chen@freescale.com>
> Tested-by: Peter Chen <peter.chen@freescale.com>
> Cc: <stable@vger.kernel.org> # 3.19+
> Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
> ---
> v3->v4:
> * To address Tomi's comment, enable/disable the axi clock in
> mxsfb_pan_display() directly instead of checking the host->enabled flag.
>
> v2->v3:
> * To address Tomi's comment, improve the commit message only.
>
> v1->v2:
> * Add 'Tested-by: Peter Chen <peter.chen@freescale.com>' tag.
> * Add 'Cc: <stable@vger.kernel.org> # 3.19+' tag.
>
> drivers/video/fbdev/mxsfb.c | 68 +++++++++++++++++++++++++++++++++++----------
> 1 file changed, 54 insertions(+), 14 deletions(-)

Thanks, queued for 4.2.

Tomi


[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-05-07 13:21    [W:0.356 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site