forked from luck/tmp_suning_uos_patched
0a2cef65b3
[ Upstream commit 3d0b93d92a2790337aa9d18cb332d02356a24126 ]
If the device is already in a runtime PM enabled state
pm_runtime_get_sync() will return 1.
Also, we need to call pm_runtime_put_noidle() when pm_runtime_get_sync()
fails, so use pm_runtime_resume_and_get() instead. this function
will handle this.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vc4_bo.c | ||
vc4_crtc.c | ||
vc4_debugfs.c | ||
vc4_dpi.c | ||
vc4_drv.c | ||
vc4_drv.h | ||
vc4_dsi.c | ||
vc4_fence.c | ||
vc4_gem.c | ||
vc4_hdmi_phy.c | ||
vc4_hdmi_regs.h | ||
vc4_hdmi.c | ||
vc4_hdmi.h | ||
vc4_hvs.c | ||
vc4_irq.c | ||
vc4_kms.c | ||
vc4_packet.h | ||
vc4_perfmon.c | ||
vc4_plane.c | ||
vc4_qpu_defines.h | ||
vc4_regs.h | ||
vc4_render_cl.c | ||
vc4_trace_points.c | ||
vc4_trace.h | ||
vc4_txp.c | ||
vc4_v3d.c | ||
vc4_validate_shaders.c | ||
vc4_validate.c | ||
vc4_vec.c |