On Wed, 20 Apr 2022 21:50:07 +0800, Miaoqian Lin wrote:
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.
[...]
Applied to drm/drm-misc (drm-misc-fixes).
Thanks! Maxime