OMAPDSS: MANAGER/APPLY: Add runtime_pm protection around wait_for_go/vsync functions
authorLajos Molnar <lajos@ti.com>
Wed, 22 Feb 2012 06:53:16 +0000 (12:23 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 6 Mar 2012 12:08:30 +0000 (14:08 +0200)
commit21e56f79abad987555351c73569fc8358636b0fa
treef96b97e7903c994b776182f4a3ab6eabc3a59208
parentc0c1cfcb577d61ec55e209bc5f869d3d80a8f371
OMAPDSS: MANAGER/APPLY: Add runtime_pm protection around wait_for_go/vsync functions

If DSS suspends within the functions dss_mgr_wait_for_go(),
dss_mgr_wait_for_go_ovl() or dss_mgr_wait_for_vsync(). It may lose it's clock
and lead to a register access failure.

Request runtime_pm around these functions.

[archit@ti.com: Moved runtime_pm calls to wait_for_go/vsync functions rather
then calling them from omap_dispc_wait_for_irq_interruptible_timeout()]

Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/apply.c
drivers/video/omap2/dss/manager.c
This page took 0.025166 seconds and 5 git commands to generate.