linux/drivers/usb/chipidea
Peter Chen d5d1e1bed4 usb: chipidea: udc: return immediately if re-enable non-empty endpoint
Some gadget driver (like uac1) will try to enable endpoint again even
the ep is not empty, it will cause the ep reset again and may affect
the dTD list which has already queued.

It returns -EBUSY immediately, and indicate the endpoint is in use.
In this way, the ep's behavior will not be affected, and the gadget
driver is also notified.

Cc: Xuebing Wang <xbing6@gmail.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 16:19:08 +01:00
..
bits.h usb: chipidea: OTG fsm timers initialization 2014-04-24 12:56:35 -07:00
ci.h usb: chipidea: parameter 'mode' isn't needed for hw_device_reset 2014-11-26 09:28:12 -08:00
ci_hdrc_imx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
ci_hdrc_imx.h chipidea: usbmisc_imx: Add USB support for VF610 SoCs 2014-09-23 21:32:30 -07:00
ci_hdrc_msm.c usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER 2014-11-26 09:28:12 -08:00
ci_hdrc_pci.c ehci-pci: disable for Intel MID platforms (update) 2015-02-03 15:28:31 -08:00
ci_hdrc_usb2.c usb: chipidea: fix platform_no_drv_owner.cocci warnings 2014-11-26 11:47:43 -08:00
ci_hdrc_zevio.c usb: chipidea: drop owner assignment from platform_drivers 2014-10-20 16:21:47 +02:00
core.c Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start" 2015-01-09 09:45:30 -08:00
debug.c usb: allow to supply the PHY in the drivers when using HCD 2014-11-03 10:02:50 -06:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c Revert "usb: chipidea: remove duplicate dev_set_drvdata for host_start" 2015-01-09 09:45:30 -08:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
Kconfig usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA 2013-09-25 17:30:39 -07:00
Makefile usb: chipidea: add a usb2 driver for ci13xxx 2014-11-26 09:28:13 -08:00
otg.c usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07:00
otg.h usb: chipidea: using one inline function to cover queue work operations 2014-05-23 11:35:02 +09:00
otg_fsm.c usb: chipidea: Fixed a few typos in comments 2014-11-26 09:28:13 -08:00
otg_fsm.h usb: chipidea: add sys inputs for OTG fsm input 2014-04-24 12:56:35 -07:00
udc.c usb: chipidea: udc: return immediately if re-enable non-empty endpoint 2015-03-18 16:19:08 +01:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00