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

Skip to content
Commit b3160ce8 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

USB: gadget: u_bam: Fix list corruption issue



Currently USB driver is allocating usb requests without holding
spinlock, but deallocating usb requests with spinlock holding.
This results in list corruption if allocation and deallocation
of usb requests race each other during fast plugin/plugout
scenarios. Hence take spinlock before allocation of USB requests
to fix the issue.

CRs-Fixed: 686006
Change-Id: I827d9fa7fa6ef975f4e1d530268b08daa89f1bc1
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent f187fb35
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