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: Ping Li <pingli@codeaurora.org>
Этот коммит содержится в:
Ping Li
2019-09-20 16:40:26 -07:00
родитель b8165c3584
Коммит 606df33423

Просмотреть файл

@@ -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 *)