]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/mdp5: Remove extra pm_runtime_put call in mdp5_crtc_cursor_set()
authorArchit Taneja <architt@codeaurora.org>
Fri, 6 Oct 2017 10:57:07 +0000 (16:27 +0530)
committerRob Clark <robdclark@gmail.com>
Thu, 12 Oct 2017 16:59:46 +0000 (12:59 -0400)
commit79ea333b453a2d1b4bdd762246821215861458e7
treedcc525232d7f14a69ab34ea2e1a31ab4b795daf5
parent9ea2f00668c697cc33f7f8506fccc3218151ff95
drm/msm/mdp5: Remove extra pm_runtime_put call in mdp5_crtc_cursor_set()

While converting mdp5_enable/disable() calls to pm_runtime_get/put() API,
an extra call to pm_runtime_put_autosuspend() crept in
mdp5_crtc_cursor_set(). This results in calling the suspend handler
twice, and therefore clk_disables twice, which isn't a nice thing to do.

Fixes: 9bd4b0f70d22 (drm/msm/mdp5: Use runtime PM get/put API instead ...)
Reported-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/mdp/mdp5/mdp5_crtc.c