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

Skip to content
Commit e68c51a5 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

soc: qcom: smd: Fix init irq race condition



There is a small window where SMD could recieve an IRQ, but is not fully
ready to process it yet.  This window could result in an access to invalid
data.

Avoid accesses to invalid data by not processing interrupts before the
driver is fully ready to do so.  Any skipped activity will be processed at
the end of init.

Change-Id: If61a8d25502c69f0925a99ba5fc14c26c3542811
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 2b979b24
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