Files
u-boot/drivers
Patrice Chotard 4b6a3e8608 usb: gadget: f_mass_storage: Add schedule() in sleep_thread()
In case "ums" command is used on platforms which don't implement
g_dnl_board_usb_cable_connected() and USB cable is not connected,
we stay inside sleep_thread() forever and watchdog is triggered.

Add schedule() call to avoid this issue.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20241202074644.5380-1-patrice.chotard@foss.st.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
2025-02-11 08:59:27 +01:00
..
2025-01-20 19:26:54 -06:00
2024-10-11 11:44:48 -06:00
2024-12-07 09:07:04 -03:00
2024-12-24 18:07:53 +01:00
2024-12-23 08:10:15 -03:00
2024-11-20 17:57:58 +01:00
2024-12-11 08:36:24 +01:00
2024-10-11 11:44:48 -06:00
2025-02-04 23:34:42 +01:00
2025-01-22 16:43:54 +01:00
2024-10-11 11:44:48 -06:00
2025-01-28 08:59:23 +02:00