Explorar o código

disp: msm: sde: initialize list head of irq node

List head should be initialized after the irq node is allocated.
Change initializes the list head of the node.

Change-Id: I495751fcf2422bba3f39a0719e2d76738b691dd9
Signed-off-by: Lakshmi Narayana Kalavala <[email protected]>
Lakshmi Narayana Kalavala %!s(int64=5) %!d(string=hai) anos
pai
achega
c3010cfe77
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      msm/sde/sde_crtc.c

+ 1 - 0
msm/sde/sde_crtc.c

@@ -6213,6 +6213,7 @@ static int _sde_crtc_event_enable(struct sde_kms *kms,
 			if (!node)
 				return -ENOMEM;
 			INIT_LIST_HEAD(&node->list);
+			INIT_LIST_HEAD(&node->irq.list);
 			node->func = custom_events[i].func;
 			node->event = event;
 			node->state = IRQ_NOINIT;