[PATCH v2] usb: gadget: f_mass_storage: Add schedule() in sleep_thread()

Marek Vasut marex at denx.de
Tue Dec 3 02:02:52 CET 2024


On 12/2/24 8:46 AM, Patrice Chotard wrote:
> 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 at foss.st.com>
Reviewed-by: Marek Vasut <marex at denx.de>

Is this a bugfix for 2025.01 ?


More information about the U-Boot mailing list