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

Commit 366f0f54 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: configfs: Clear deactivation flag in configfs_composite_unbind()"

parents d49d3b2f 07691fc1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1496,6 +1496,8 @@ static void configfs_composite_unbind(struct usb_gadget *gadget)
	usb_ep_autoconfig_reset(cdev->gadget);
	spin_lock_irqsave(&gi->spinlock, flags);
	cdev->gadget = NULL;
	cdev->deactivations = 0;
	gadget->deactivated = false;
	set_gadget_data(gadget, NULL);
	spin_unlock_irqrestore(&gi->spinlock, flags);
}