]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: gadget: udc-core: fix wrong call order
authorFelipe Balbi <balbi@ti.com>
Fri, 27 Apr 2012 08:02:15 +0000 (11:02 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 27 Apr 2012 08:02:15 +0000 (11:02 +0300)
commit83a787a71e034244a9fd1d5988fe18f226341417
tree4ed07aa897320c5f1f24a77209ca0543be0be58b
parent15b120d67019d691e4389372967332d74a80522a
usb: gadget: udc-core: fix wrong call order

commit 6d258a4 (usb: gadget: udc-core: stop UDC on device-initiated
disconnect) introduced another case of asymmetric calls when issuing
a device-initiated disconnect. Fix it.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc-core.c