Skip to content

Commit

Permalink
drm/bridge: analogix_dp: set correct dpms mode in loader_protect call…
Browse files Browse the repository at this point in the history
…back

Fixes: f7252ec ("drm/bridge: analogix_dp: set correct dpms mode in loader_protect callback")
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
Change-Id: I96c8dfb27bf7e1d51aa7e7ec8eb0b4bff414b2d5
  • Loading branch information
bivvy authored and rkhuangtao committed Jul 8, 2020
1 parent 7a02361 commit b12df74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/gpu/drm/bridge/analogix/analogix_dp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,9 +876,6 @@ static int analogix_dp_loader_protect(struct drm_connector *connector, bool on)
if (on) {
pm_runtime_get_sync(dp->dev);
dp->dpms_mode = DRM_MODE_DPMS_ON;
} else {
pm_runtime_put(dp->dev);
dp->dpms_mode = DRM_MODE_DPMS_OFF;
}

return 0;
Expand Down

0 comments on commit b12df74

Please sign in to comment.