summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-06-27 16:21:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-07-15 16:45:30 +0100
commitc62ff6b3c7325c34d649a5fc3253445af1fd3ba8 (patch)
tree7297252efe89484baf968b72524b329729a6b7c8 /drivers/gpu
parent73068ce3b5d85780466ecab1bf2459dbd660c1c8 (diff)
downloadlinux-stable-c62ff6b3c7325c34d649a5fc3253445af1fd3ba8.tar.gz
linux-stable-c62ff6b3c7325c34d649a5fc3253445af1fd3ba8.tar.bz2
linux-stable-c62ff6b3c7325c34d649a5fc3253445af1fd3ba8.zip
drm/armada: avoid saving the adjusted mode to crtc->mode
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>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/armada/armada_crtc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c
index 42d2ffa08716..01ffe9bffe38 100644
--- a/drivers/gpu/drm/armada/armada_crtc.c
+++ b/drivers/gpu/drm/armada/armada_crtc.c
@@ -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;