u-boot/drivers/usb
Miquel Raynal 8a0d07807a usb: udc: Try to clarify an error message
At some point when trying to use USB gadgets, two situations may arise
and lead to a failure. Either the UDC (USB Device Controller) is not
available at all (not described or not probed) or the UDC is already in
use. For instance, as the USB Ethernet gadget remains bound to the UDC,
the use of any other USB gadget (fastboot, dfu, etc) *after* will always
fail with the "couldn't find an available UDC" error.

Let's give a more helpful message by making a difference between the two
cases. Let's also hint people who would get this error and grep it into
the sources a better explanation of what's wrong with their workflow.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20231010090304.49335-4-miquel.raynal@bootlin.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
2023-11-21 15:48:38 +01:00
..
cdns3 tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
common common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
dwc3 Prepare v2024.01-rc3 2023-11-20 09:19:50 -05:00
emul sandbox: fix sandbox_hub_submit_control_msg() 2023-04-28 11:30:17 -06:00
eth common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
gadget usb: udc: Try to clarify an error message 2023-11-21 15:48:38 +01:00
host tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
isp1760 usb: add isp1760 family driver 2022-07-12 21:59:54 +02:00
mtu3 usb: mtu3: flush cache for the first GPD when allocate GPD ring 2021-11-03 08:47:57 +01:00
musb usb: musb: Rename CONFIG_USB_MUSB_TIMEOUT to MUSB_TIMEOUT 2023-01-20 12:27:06 -05:00
musb-new common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
phy rockchip: usb: phy: add rk3066/rk3188 support 2022-06-29 11:28:15 +08:00
ulpi tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
Kconfig usb: Move SPL_USB_STORAGE Kconfig symbol to drivers/usb/ 2023-05-17 01:51:39 +02:00