[PATCH v2] usb: gadget: f_mass_storage: Add schedule() in sleep_thread()
Mattijs Korpershoek
mkorpershoek at baylibre.com
Tue Feb 11 08:59:58 CET 2025
Hi,
On Mon, 02 Dec 2024 08:46:44 +0100, 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.
>
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] usb: gadget: f_mass_storage: Add schedule() in sleep_thread()
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/4b6a3e860878de5198f5561a0d8c602a9c296f0a
--
Mattijs
More information about the U-Boot
mailing list