OpenCloudOS-Kernel/drivers/usb/gadget/udc
John Keeping 0b97fe09f0 usb: gadget: core: force synchronous registration
commit df9158826b00e53f42c67d62c887a84490d80a0a upstream.

Registering a gadget driver is expected to complete synchronously and
immediately after calling driver_register() this function checks that
the driver has bound so as to return an error.

Set PROBE_FORCE_SYNCHRONOUS to ensure this is the case even when
asynchronous probing is set as the default.

Fixes: fc274c1e99 ("USB: gadget: Add a new bus for gadgets")
Cc: stable@vger.kernel.org
Signed-off-by: John Keeping <jkeeping@inmusicbrands.com>
Link: https://lore.kernel.org/r/20240913102325.2826261-1-jkeeping@inmusicbrands.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 15:24:34 +02:00
..
aspeed-vhub
bdc
cdns2 usb: cdns2: Fix controller reset issue 2024-09-12 11:11:41 +02:00
Kconfig
Makefile
amd5536udc.h
amd5536udc_pci.c
aspeed_udc.c usb: gadget: aspeed_udc: validate endpoint index for ast udc 2024-09-12 11:11:30 +02:00
at91_udc.c
at91_udc.h
atmel_usba_udc.c
atmel_usba_udc.h
bcm63xx_udc.c
core.c usb: gadget: core: force synchronous registration 2024-10-17 15:24:34 +02:00
dummy_hcd.c
fsl_qe_udc.c
fsl_qe_udc.h
fsl_udc_core.c usb: gadget: fsl: Increase size of name buffer for endpoints 2024-08-29 17:33:38 +02:00
fsl_usb2_udc.h
fusb300_udc.c
fusb300_udc.h
goku_udc.c
goku_udc.h
gr_udc.c
gr_udc.h
lpc32xx_udc.c
m66592-udc.c
m66592-udc.h
max3420_udc.c
mv_u3d.h
mv_u3d_core.c
mv_udc.h
mv_udc_core.c
net2272.c
net2272.h
net2280.c
net2280.h
omap_udc.c
omap_udc.h
pch_udc.c
pxa25x_udc.c
pxa25x_udc.h
pxa27x_udc.c
pxa27x_udc.h
r8a66597-udc.c
r8a66597-udc.h
renesas_usb3.c
renesas_usbf.c
rzv2m_usb3drd.c
snps_udc_core.c
snps_udc_plat.c
tegra-xudc.c usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic 2024-04-03 15:28:28 +02:00
trace.c
trace.h
udc-xilinx.c