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

Commit 8c42d38d 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: cancel vsync event timer on encoder stop"

parents affa66f8 418477a3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1883,8 +1883,9 @@ static int sde_encoder_resource_control(struct drm_encoder *drm_enc,
		break;

	case SDE_ENC_RC_EVENT_STOP:
		/* cancel vsync event work */
		/* cancel vsync event work and timer */
		kthread_cancel_work_sync(&sde_enc->vsync_event_work);
		del_timer_sync(&sde_enc->vsync_event_timer);

		mutex_lock(&sde_enc->rc_lock);
		/* return if the resource control is already in OFF state */