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

Skip to content
Commit eb1fff19 authored by Ajay Agarwal's avatar Ajay Agarwal Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 2dc3339c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment