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

Skip to content
Commit 0e3e9752 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: gadget: composite: make sure to reactivate function on unbind



If a function sets bind_deactivated flag, upon removal we will be left
with an unbalanced deactivation. Let's make sure that we conditionally
call usb_function_activate() from usb_remove_function() and make sure
usb_remove_function() is called from remove_config().

Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent afbbc791
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