2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/video/omap2/dss
Tomi Valkeinen 373b436521 OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n
If runtime PM is not enabled in the kernel config, pm_runtime_get_sync()
will always return 1 and pm_runtime_put_sync() will always return
-ENOSYS. pm_runtime_get_sync() returning 1 presents no problem to the
driver, but -ENOSYS from pm_runtime_put_sync() causes the driver to
print a warning.

One option would be to ignore errors returned by pm_runtime_put_sync()
totally, as they only say that the call was unable to put the hardware
into suspend mode.

However, I chose to ignore the returned -ENOSYS explicitly, and print a
warning for other errors, as I think we should get notified if the HW
failed to go to suspend properly.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Jassi Brar <jaswinder.singh@linaro.org>
Cc: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
2012-07-08 14:00:27 +00:00
..
apply.c OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays 2012-05-22 10:59:13 +03:00
core.c OMAPDSS: Use PM notifiers for system suspend 2012-07-08 14:00:26 +00:00
dispc_coefs.c OMAPDSS: DISPC: Fix FIR coefficients 2012-03-06 14:08:23 +02:00
dispc.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00
dispc.h OMAPDSS: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:14 +03:00
display.c OMAPDSS: remove compiler warnings when CONFIG_BUG=n 2012-05-22 10:59:14 +03:00
dpi.c OMAPDSS: separate pdata based initialization 2012-05-11 15:09:24 +03:00
dsi.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00
dss_features.c OMAPDSS: DISPC: Support rotation through TILER 2012-05-22 10:59:15 +03:00
dss_features.h OMAPDSS: DISPC: Support rotation through TILER 2012-05-22 10:59:15 +03:00
dss.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00
dss.h OMAPDSS: use DSI_FIFO_BUG workaround only for manual update displays 2012-05-22 10:59:13 +03:00
hdmi_panel.c OMAPDSS: HDMI: Implement DSS driver interface for audio 2012-05-11 15:17:10 +03:00
hdmi.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00
Kconfig OMAPDSS: HDMI: Decouple HDMI audio from ASoC 2012-05-11 15:15:22 +03:00
Makefile OMAPDSS: DISPC: Update Fir Coefficients 2012-01-02 08:51:29 +02:00
manager.c OMAPDSS: APPLY: Remove display dependency from overlay and manager checks 2012-05-09 13:44:07 +03:00
overlay.c OMAPDSS: DISPC: Support rotation through TILER 2012-05-22 10:59:15 +03:00
rfbi.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00
sdi.c OMAPDSS: separate pdata based initialization 2012-05-11 15:09:24 +03:00
ti_hdmi_4xxx_ip.c OMAPDSS: HDMI: OMAP4: Update IRQ flags for the HPD IRQ request 2012-05-22 11:00:09 +03:00
ti_hdmi_4xxx_ip.h OMAPDSS: HDMI: Add an audio configuration function 2012-05-11 15:17:08 +03:00
ti_hdmi.h OMAPDSS: HDMI: Add an audio configuration function 2012-05-11 15:17:08 +03:00
venc.c OMAPDSS: fix warnings if CONFIG_PM_RUNTIME=n 2012-07-08 14:00:27 +00:00