drm/panel: panel-simple: Add missing pm_runtime_disable() calls
authorDouglas Anderson <dianders@chromium.org>
Fri, 23 Apr 2021 16:58:47 +0000 (09:58 -0700)
committerDouglas Anderson <dianders@chromium.org>
Fri, 30 Apr 2021 20:24:30 +0000 (13:24 -0700)
commit70e12560126685e982ee680e0e40049edbd66cf0
tree16f0be9cbd3371b7ec9cb86a94ecb23e04f4f8e2
parent885811372fe101c4299c53eecc9fee72cf927a0c
drm/panel: panel-simple: Add missing pm_runtime_disable() calls

In commit 3235b0f20a0a ("drm/panel: panel-simple: Use runtime pm to
avoid excessive unprepare / prepare") we started using pm_runtime, but
my patch neglected to add the proper pm_runtime_disable(). Doh! Add
them now.

Fixes: 3235b0f20a0a ("drm/panel: panel-simple: Use runtime pm to avoid excessive unprepare / prepare")
Reported-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.1.I9e6af2529d6c61e5daf86a15a1211121c5223b9a@changeid
drivers/gpu/drm/panel/panel-simple.c