[PATCH v2] usb: gadget: f_mass_storage: Add schedule() in sleep_thread()
Patrice CHOTARD
patrice.chotard at foss.st.com
Tue Dec 3 09:53:35 CET 2024
On 12/3/24 02:02, Marek Vasut wrote:
> 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 ?
No, it can wait next release v2025.04
Thanks
Patrice
More information about the U-Boot
mailing list