projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69aa1f9
)
usb: gadget: fsl_qe_udc: use udc-core's reset notifier
author
Peter Chen
<peter.chen@freescale.com>
Thu, 6 Nov 2014 06:28:04 +0000
(14:28 +0800)
committer
Felipe Balbi
<balbi@ti.com>
Mon, 10 Nov 2014 23:19:37 +0000
(17:19 -0600)
Replace usb_gadget_driver's disconnect with udc-core's reset notifier at
bus reset handler.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/fsl_qe_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/fsl_qe_udc.c
b/drivers/usb/gadget/udc/fsl_qe_udc.c
index 01f29ef622bc9bffdd34a1b732da7e38d7b7be10..d201f9a89ce3bdb090ad1bb8defb1b68c4b52837 100644
(file)
--- a/
drivers/usb/gadget/udc/fsl_qe_udc.c
+++ b/
drivers/usb/gadget/udc/fsl_qe_udc.c
@@
-1917,7
+1917,7
@@
static int reset_queues(struct qe_udc *udc)
/* report disconnect; the driver is already quiesced */
spin_unlock(&udc->lock);
- u
dc->driver->disconnect(&udc->gadget
);
+ u
sb_gadget_udc_reset(&udc->gadget, udc->driver
);
spin_lock(&udc->lock);
return 0;