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

Skip to content
Commit 074c4896 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

soc: qcom: pil: Delay IRQ registration in subsys registration



When the request_irq functions and any of its variants
are invoked, it is possible to receive an IRQ from the
moment the IRQ line becomes active. This should only be
done when all other initialization routines have been
performed, to ensure proper behavior. Make IRQ registration
the last step in the subsystem registration process,
and initialize completion variables used in PIL IRQ handlers
to ensure that the completion variables used in these IRQ
handlers are not used prior to initialization.

Change-Id: I45286284d3c6d88c6b58dd4e2c2092f373b49fa1
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent b58cba17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment