Commit 2f56d8d9 authored by Chris Lew's avatar Chris Lew
Browse files

soc: qcom: glink: Refactor rwref lock mechanism



Add an option to rwref locks that allow the lock functions
to spin when acquiring the lock. Change completion variable
to use waitqueues for sleep functionality.

Change rwref reference function calls to use locking functions
where code reads or writes the context state.

CRs-Fixed: 988266
Change-Id: Ib2908b2495b1b01a6a130033143a7da8e5c0c231
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
parent 050e1a85
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment