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

Commit a073375c authored by Lakshmi Narayana Kalavala's avatar Lakshmi Narayana Kalavala
Browse files

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: default avatarLakshmi Narayana Kalavala <lkalaval@codeaurora.org>
parent 57c4701c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6176,6 +6176,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;