fbdev: sh_mobile_lcdc: Turn dot clock on before resuming from runtime PM
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 11 Jul 2011 09:05:49 +0000 (11:05 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 06:22:28 +0000 (08:22 +0200)
commitf1ad90da5c0fcb8841cc5e6d66c56f4005d8c960
tree4388339e0fc590f27816ada7a16be8c284949b77
parent91142bfe98d2a4e52969e12aa0e48e48505bcee2
fbdev: sh_mobile_lcdc: Turn dot clock on before resuming from runtime PM

Resuming from runtime PM restores all LCDC registers. If the dot clock
is off at that time display panning information will be corrupted.

Turn the dot clock on before resuming from runtime PM. Similarly,
turn the clock off after suspending the LCDC.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
drivers/video/sh_mobile_lcdcfb.c