Skip to content
Commit 83443205 authored by Mayank Rana's avatar Mayank Rana
Browse files

usbpd: Add mutex lock to manipulate svid_handler list



svid_handler is registered by different client driver (e.g. Linux
DP driver). Client driver may unregister in some error case which
may race against accessing svid_handler list. Hence add mutext lock
to guard svid_handler list manipulation.

CRs-Fixed: 2102703
Change-Id: I6653a31e3fa1f27e0cdd7a32f752df57f8b6c718
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent bafb98e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment