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

Commit b777c724 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam
Browse files

soc: qcom: smem: use remote spinlock try lock



If a remote subsystem resets while holding the remote spinlock and APPs
is trying to acquire the same remote spinlock, then SSR does not get
handled and the system eventually crashes due to a deadlock.

Use remote_spinlock_trylock_irqsave() instead of remote_spinlock_irqsave()
which allows the CPU to handle the pending interrupts if remote spinlock
is not available.

CRs-Fixed: 932028
Change-Id: I88716abf5bfd9a85495733cffe6df9e8e827c1b5
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 049b7256
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