mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
373b436521
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> |
||
---|---|---|
.. | ||
apply.c | ||
core.c | ||
dispc_coefs.c | ||
dispc.c | ||
dispc.h | ||
display.c | ||
dpi.c | ||
dsi.c | ||
dss_features.c | ||
dss_features.h | ||
dss.c | ||
dss.h | ||
hdmi_panel.c | ||
hdmi.c | ||
Kconfig | ||
Makefile | ||
manager.c | ||
overlay.c | ||
rfbi.c | ||
sdi.c | ||
ti_hdmi_4xxx_ip.c | ||
ti_hdmi_4xxx_ip.h | ||
ti_hdmi.h | ||
venc.c |