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

Skip to content
Commit 86956916 authored by Chris Lew's avatar Chris Lew
Browse files

soc: qcom: qmi_interface: Protect sk_user_data with RCU



sk_user_data can be protected with RCU instead of calling the callback
rwlock. RCU will ensure the pointer obtained in qmi_data_ready is
formed properly and cleanup can synchronize before continuing in handle
release.

Change-Id: I6a687bd7b311fe169a89cb959ae755730b81a9f1
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 8063c4d6
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