android_kernel_asus_sm8350/drivers/video/omap2/dss
Tomi Valkeinen 0eaf9f52e9 OMAPDSS: use sync versions of pm_runtime_put
omapdss doesn't work properly on system suspend. The problem seems to be
the fact that omapdss uses pm_runtime_put() functions when turning off
the hardware, and when system suspend is in process only sync versions
are allowed.

Using non-sync versions normally and sync versions when suspending would
need rather ugly hacks to convey the information of
suspending/not-suspending to different functions. Optimally the driver
wouldn't even need to care about this, and the PM layer would handle
syncing when suspend is in process.

This patch changes all omapdss's pm_runtime_put calls to
pm_runtime_put_sync. This fixes the suspend problem, and probably the
performance penalty of always using sync versions is negligible.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Kevin Hilman <khilman@ti.com>
2012-01-26 13:46:24 +02:00
..
apply.c OMAPDSS: APPLY: fix NULL pointer deref when mgr is not set 2012-01-02 08:51:28 +02:00
core.c OMAPDSS: create apply.c 2011-12-02 08:54:30 +02:00
dispc_coefs.c OMAPDSS: DISPC: Update Fir Coefficients 2012-01-02 08:51:29 +02:00
dispc.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00
dispc.h OMAPDSS: DISPC: Update Fir Coefficients 2012-01-02 08:51:29 +02:00
display.c OMAP: DSS2: Create an enum for DSI pixel formats 2011-09-30 16:16:29 +03:00
dpi.c OMAPDSS: check the return value of dss_mgr_enable() 2011-12-02 08:54:54 +02:00
dsi.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00
dss_features.c OMAPDSS: HDMI: Create function to enable HDMI audio 2012-01-05 10:34:48 +02:00
dss_features.h OMAPDSS: DISPC: Update Scaling Clock Logic 2012-01-02 08:51:29 +02:00
dss.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00
dss.h OMAPDSS: APPLY: move simple_check functions 2012-01-02 08:51:26 +02:00
hdmi_panel.c OMAP: DSS2: HDMI: implement detect() 2011-09-30 16:16:47 +03:00
hdmi.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00
Kconfig OMAP: DSS2: Remove "EXPERIMENTAL" from Kconfig 2011-09-30 16:16:19 +03:00
Makefile OMAPDSS: DISPC: Update Fir Coefficients 2012-01-02 08:51:29 +02:00
manager.c OMAPDSS: APPLY: move simple_check functions 2012-01-02 08:51:26 +02:00
overlay.c OMAPDSS: APPLY: move simple_check functions 2012-01-02 08:51:26 +02:00
rfbi.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00
sdi.c OMAPDSS: check the return value of dss_mgr_enable() 2011-12-02 08:54:54 +02:00
ti_hdmi_4xxx_ip.c ASoC: OMAP: HDMI: Move HDMI codec trigger function to generic HDMI driver 2012-01-05 10:34:48 +02:00
ti_hdmi_4xxx_ip.h ASoC: OMAP: HDMI: Move HDMI codec trigger function to generic HDMI driver 2012-01-05 10:34:48 +02:00
ti_hdmi.h OMAPDSS: HDMI: Create function to enable HDMI audio 2012-01-05 10:34:48 +02:00
venc.c OMAPDSS: use sync versions of pm_runtime_put 2012-01-26 13:46:24 +02:00