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

Commit 606df334 authored by Ping Li's avatar Ping Li
Browse files

disp: msm: sde: Init ltm_buf_busy list head before adding new node



Init ltm_buf_busy list head before adding new node to avoid
list_add corruption.

Change-Id: Ic90f82c929150640bc12d4f31cf7115879f92037
Signed-off-by: default avatarPing Li <pingli@codeaurora.org>
parent b8165c35
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3018,6 +3018,7 @@ static void sde_cp_ltm_hist_interrupt_cb(void *arg, int irq_idx)

	list_del_init(&busy_buf->node);
	list_del_init(&free_buf->node);
	INIT_LIST_HEAD(&sde_crtc->ltm_buf_busy);
	list_add_tail(&free_buf->node, &sde_crtc->ltm_buf_busy);

	ltm_data = (struct drm_msm_ltm_stats_data *)