diff options
| author | Patrice Chotard <[email protected]> | 2024-12-02 08:46:44 +0100 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2025-02-11 08:59:27 +0100 |
| commit | 4b6a3e860878de5198f5561a0d8c602a9c296f0a (patch) | |
| tree | 4e605d313b35d89f576b182c0c0c859520a5e201 /scripts/objdiff | |
| parent | aa817a2f1fb66067fc3c6dc7d9d1a84bbaa99df9 (diff) | |
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 <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
