]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos: Use pm_runtime_resume_and_get() to replace open coding
authorTian Tao <tiantao6@hisilicon.com>
Mon, 24 May 2021 12:07:57 +0000 (20:07 +0800)
committerInki Dae <inki.dae@samsung.com>
Fri, 11 Jun 2021 01:56:27 +0000 (10:56 +0900)
commit7efb94020e4436cbfbdaab54d3848821dd8ec0c9
tree7d2ce3f4c774189440f3ae3f951d57fb26ba8c27
parent069d2b2a80ca9228a9c8b33099e818fa51f47602
drm/exynos: Use pm_runtime_resume_and_get() to replace open coding

use pm_runtime_resume_and_get() to replace pm_runtime_get_sync and
pm_runtime_put_noidle to avoid continuing to increase the refcount
when pm_runtime_get_sync fails.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_mic.c