usb: ci13xxx: Mark USB gadget driver to NULL in udc_stop
Cases like restarting ADB do the stop and start of UDC. But
ci13xxx_start fails with EBUSY error because udc->driver is
not NULL. And hence peripheral mode does not work.
Fix this by marking udc->driver to NULL in ci13xxx_stop.
Change-Id: I85c4fe017848a1e5b7319b65dac471704ca5fb21
Signed-off-by:
Ajay Agarwal <ajaya@codeaurora.org>
Loading
Please register or sign in to comment