mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-26 22:01:10 +00:00
usb: gadget: missing fallthrough in composite_setup()
Add a missing fallthrough macro. This fixes a -Wimplicit-fallthrough warning. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
fd4ed6b7e8
commit
063359444c
@ -1068,7 +1068,7 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
|
|||||||
if (!gadget_is_dualspeed(gadget) ||
|
if (!gadget_is_dualspeed(gadget) ||
|
||||||
gadget->speed >= USB_SPEED_SUPER)
|
gadget->speed >= USB_SPEED_SUPER)
|
||||||
break;
|
break;
|
||||||
|
fallthrough;
|
||||||
case USB_DT_CONFIG:
|
case USB_DT_CONFIG:
|
||||||
value = config_desc(cdev, w_value);
|
value = config_desc(cdev, w_value);
|
||||||
if (value >= 0)
|
if (value >= 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user