mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
usb: gadget: dummy: do not call pullup() on udc_stop()
pullup() is already called properly by udc-core.c and there's no need to call it from udc_stop(), in fact that will cause issues. Cc: [email protected] Reviewed-by: Alexander Shishkin <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
c67dd31c5c
commit
15b120d670
1 changed files with 0 additions and 1 deletions
|
|
@ -927,7 +927,6 @@ static int dummy_udc_stop(struct usb_gadget *g,
|
|||
|
||||
dum->driver = NULL;
|
||||
|
||||
dummy_pullup(&dum->gadget, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue