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

Skip to content
Commit 2f703805 authored by Lena Salman's avatar Lena Salman Committed by Stephen Boyd
Browse files

usb: gadget: u_bam: Lock access to port_usb in start/stop transfers



Add protection to access to port_usb fields in start/stop transfers.
Otherwise the functions might compete with disconnect sequence
and null dereference might occur.

Change-Id: I7e62ddd98adc414cadf426daae900c5db04939ee
Signed-off-by: default avatarLena Salman <esalman@codeaurora.org>
parent fb139022
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