From: Magnus Damm Date: Fri, 14 Aug 2009 10:49:08 +0000 (+0000) Subject: video: Runtime PM for SuperH Mobile LCDC X-Git-Tag: v2.6.32-rc1~640^2~35^2~17^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0246c4712c40294bd5e8335f0c15a38c8e52709f;p=pandora-kernel.git video: Runtime PM for SuperH Mobile LCDC This patch modifies the SuperH Mobile LCDC framebuffer driver to support Runtime PM. The driver is using the functions - pm_runtime_get_sync() - pm_runtime_put_sync() to inform the bus code if the hardware is idle or not. If the hardware is idle then the bus code may call the runtime dev_pm_ops callbacks to save and restore state. pm_runtime_resume() is used to allow the driver to access the hardware from probe(). Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed