u-boot/drivers/usb/emul
Heinrich Schuchardt 42175a70d1 sandbox: fix sandbox_hub_submit_control_msg()
Avoid incorrect fall through:
A USB_RT_HUB request should not be treated as USB_RT_PORT.

Simplify the coding:
Avoid duplicate debug() statements.

This fixes all -Wimplicit-fallthrough warnings.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-04-28 11:30:17 -06:00
..
Kconfig usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_flash.c sandbox: fix fall through in sandbox_flash_bulk() 2023-04-28 11:30:17 -06:00
sandbox_hub.c sandbox: fix sandbox_hub_submit_control_msg() 2023-04-28 11:30:17 -06:00
sandbox_keyb.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
usb-emul-uclass.c usb: sandbox: Check for string end in copy_to_unicode() 2022-04-29 11:11:36 -04:00