drm/atomic: fix an error code in mode_fixup()

am: bb5b96344e

Change-Id: Id18b07ab38b358a2644299de3b74256febb8e9e1
This commit is contained in:
Dan Carpenter
2017-03-15 02:13:19 +00:00
committed by android-build-merger

View File

@@ -265,7 +265,7 @@ mode_fixup(struct drm_atomic_state *state)
struct drm_connector *connector;
struct drm_connector_state *conn_state;
int i;
bool ret;
int ret;
for_each_crtc_in_state(state, crtc, crtc_state, i) {
if (!crtc_state->mode_changed &&