You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sam Protsenko
8038f6d288
usb: gadget: composite: Correct recovery path for register
...
In case when usb_composite_register() failed once (for whatever reason),
it will fail further even if all conditions are correct. Example:
=> fastboot 2
Invalid Controller Index
couldn't find an available UDC
g_dnl_register: failed!, error: -19
exit not allowed from main input shell.
=> fastboot 0
g_dnl_register: failed!, error: -22
exit not allowed from main input shell.
Despite that 0 is correct index for USB controller, "fastboot 0" command
will fail, because "composite" structure wasn't cleared properly on
previous fail (on "fastboot 2" command).
This patch fixes that erroneous behavior, allowing us to use composite
even after previous failure.
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
9 years ago
..
udc
Various Makefiles: Add SPDX-License-Identifier tags
10 years ago
Makefile
usb: s3c-otg: Rename USB_GADGET_S3C_UDC_OTG* to USB_GADGET_DWC2_OTG*
9 years ago
at91_udc.c
usb: gadget: at91_udc: add at91_udc into U-Boot
10 years ago
at91_udc.h
Add more SPDX-License-Identifier tags
9 years ago
atmel_usba_udc.c
usb: modify usb_gadget_handle_interrupts to take controller index
10 years ago
atmel_usba_udc.h
…
bcm_udc_otg.h
usb: gadget: bcm_udc_otg files
10 years ago
bcm_udc_otg_phy.c
usb: s3c-otg: Rename local headers to dwc2_*h
9 years ago
ci_udc.c
usb:ci_udc: Remove ULPI setting for i.MX OTG controller
9 years ago
ci_udc.h
ci_udc: Update the ci_udc driver to support bulk transfers
10 years ago
composite.c
usb: gadget: composite: Correct recovery path for register
9 years ago
config.c
Use correct spelling of "U-Boot"
9 years ago
core.c
…
designware_udc.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
dwc2_udc_otg.c
usb: gadget: dwc2_udc_otg: modified the check condition for max packet size of ep_in in high speed
9 years ago
dwc2_udc_otg_phy.c
usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h
9 years ago
dwc2_udc_otg_priv.h
usb: s3c-otg: Rename usb/s3c_udc.h to usb/dwc2_udc.h
9 years ago
dwc2_udc_otg_regs.h
usb: s3c-otg: Rename remaining macros
9 years ago
dwc2_udc_otg_xfer_dma.c
usb: s3c-otg: Tweak the comments
9 years ago
ep0.c
cosmetic: replace MIN, MAX with min, max
11 years ago
ep0.h
…
epautoconf.c
Use correct spelling of "U-Boot"
9 years ago
ether.c
Use correct spelling of "U-Boot"
9 years ago
f_dfu.c
dfu: usb: f_dfu: Set deferred call for dfu_flush() function
9 years ago
f_dfu.h
…
f_fastboot.c
fastboot: update error and warning messages
9 years ago
f_mass_storage.c
ums: support multiple LUNs at once
9 years ago
f_thor.c
Move console definitions into a new console.h file
9 years ago
f_thor.h
f_thor: Dont perform reset at the end of thor
10 years ago
fotg210.c
usb: modify usb_gadget_handle_interrupts to take controller index
10 years ago
g_dnl.c
usb: gadget: don't leak configs when unbinding
10 years ago
gadget_chips.h
Use correct spelling of "U-Boot"
9 years ago
mpc8xx_udc.c
cosmetic: replace MIN, MAX with min, max
11 years ago
ndis.h
…
pxa25x_udc.c
usb: modify usb_gadget_handle_interrupts to take controller index
10 years ago
pxa25x_udc.h
…
pxa27x_udc.c
usb: pxa27x_udc: clean-up include file order
10 years ago
rndis.c
Add more SPDX-License-Identifier tags
9 years ago
rndis.h
Add more SPDX-License-Identifier tags
9 years ago
storage_common.c
ums: support multiple LUNs at once
9 years ago
usbstring.c
Use correct spelling of "U-Boot"
9 years ago