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

Skip to content
Commit d56dbe31 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: devices: uci: release lock as last step



mhi_uci_release and mhi_uci_remove can get called in parallel and
protected by a mutex.  Both functions can release the same
resources, therefore all code execution must be inside the mutex
to avoid use after free errors.

CRs-Fixed: 2340364
Change-Id: I7786cab2897db2ec7ad1380e1920494627cbea73
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent f6b03ace
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