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

Skip to content
Commit a38fd8ae authored by Jeff Hugo's avatar Jeff Hugo Committed by Arun Kumar Neelakantam
Browse files

soc: qcom: bam_dmux: Cache callback information



Callback notifications lock the channel status to prevent clients from
unregistering their callback function and other information while it is
in use during a notification.  However, in some scenarios, clients use
the notification context to call back into bam_dmux which can result in
lock recursion.

Avoid the issue by caching the callback information, and then unlocking
the channel state before invoking the client's callback.

CRs-Fixed: 690328
Change-Id: I764b1c21c2254c9c72ee329dc671f9a1afb648a2
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent eddaea8d
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