Skip to content

Commit

Permalink
drm/armada: avoid saving the adjusted mode to crtc->mode
Browse files Browse the repository at this point in the history
We're not supposed to store the adjusted mode into crtc->mode.  We don't
use it anyway, so we can safely remove this.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King committed Jul 15, 2015
1 parent 73068ce commit c62ff6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/gpu/drm/armada/armada_crtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,6 @@ static int armada_drm_crtc_mode_set(struct drm_crtc *crtc,

drm_crtc_vblank_off(crtc);

crtc->mode = *adj;

val = dcrtc->dumb_ctrl & ~CFG_DUMB_ENA;
if (val != dcrtc->dumb_ctrl) {
dcrtc->dumb_ctrl = val;
Expand Down

0 comments on commit c62ff6b

Please sign in to comment.