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

Skip to content
Commit 5c5f9b60 authored by Benoit Goby's avatar Benoit Goby Committed by Arve Hjønnevåg
Browse files

usb: gadget: composite: Fix corruption when changing configuration



Remove the config from the configs list before releasing the spinlock.
Otherwise the other cpu might be processing a SET_CONFIGURATION that
will switch to the configuration that is being released.

Change-Id: Id4da0d0e18ead63e20cb236cd1d3e8e6d116acce
Signed-off-by: default avatarBenoit Goby <benoit@android.com>
parent 86b24e0e
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