]> git.baikalelectronics.ru Git - kernel.git/commit
fbdev: sh_mobile_lcdc: Restart LCDC in runtime PM resume handler
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 13 Jul 2011 10:13:47 +0000 (12:13 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 19 Aug 2011 06:22:41 +0000 (08:22 +0200)
commit148256935e4f0279cf5e3906ed11f04d103addee
tree15d77b6757b70de670af79c2b9b822c74af3eb29
parent373933daf0fe934e5b9569dc58b395318a77c195
fbdev: sh_mobile_lcdc: Restart LCDC in runtime PM resume handler

Instead of restoring registers blindly, restart the LCDC by going
through the startup sequence when resuming from runtime PM suspend. All
registers are now correctly initialized in the right order.

As a side effect, this also gets rid fo a possible panning restore issue
caused by always saving the frame buffer base address registers from set
A instead of the currently active set.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/video/sh_mobile_lcdcfb.c
drivers/video/sh_mobile_lcdcfb.h