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

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

Merge "usb: gadget: ci13xxx: Unbind composite driver after disabling EP0"

parents aadc766a a5b1c907
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3541,6 +3541,9 @@ static int ci13xxx_pullup(struct usb_gadget *_gadget, int is_active)
		hw_device_state(udc->ep0out.qh.dma);
	} else {
		hw_device_state(0);
		spin_unlock_irqrestore(udc->lock, flags);
		_gadget_stop_activity(&udc->gadget);
		spin_lock_irqsave(udc->lock, flags);
	}
	spin_unlock_irqrestore(udc->lock, flags);