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

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

Merge "usb: ci13xxx: Mark USB gadget driver to NULL in udc_stop"

parents f55a5c08 eb1fff19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3678,6 +3678,7 @@ static int ci13xxx_stop(struct usb_gadget *gadget)
		spin_lock_irqsave(udc->lock, flags);
	}

	udc->driver = NULL;
	spin_unlock_irqrestore(udc->lock, flags);

	usb_ep_free_request(&udc->ep0in.ep, udc->status);