Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38a1e21a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: Change error code type when crtc is not attached"

parents fa91fcb2 7e52b17e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1028,7 +1028,7 @@ int sde_cp_crtc_set_property(struct drm_crtc *crtc,
	    sde_crtc->num_mixers > ARRAY_SIZE(sde_crtc->mixers)) {
		DRM_ERROR("Invalid mixer config act cnt %d max cnt %ld\n",
			sde_crtc->num_mixers, ARRAY_SIZE(sde_crtc->mixers));
		ret = -EINVAL;
		ret = -EPERM;
		goto exit;
	}

@@ -1896,7 +1896,7 @@ int sde_cp_hist_interrupt(struct drm_crtc *crtc_drm, bool en,

	if (!hw_dspp) {
		DRM_ERROR("invalid dspp\n");
		ret = -EINVAL;
		ret = -EPERM;
		goto exit;
	}