aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/composite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c
index f2da0269e1b1..363951eb333c 100644
--- a/drivers/usb/gadget/composite.c
+++ b/drivers/usb/gadget/composite.c
@@ -772,7 +772,7 @@ composite_setup(struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
772 f = cdev->config->interface[w_index]; 772 f = cdev->config->interface[w_index];
773 if (!f) 773 if (!f)
774 break; 774 break;
775 if (w_value && !f->get_alt) 775 if (w_value && !f->set_alt)
776 break; 776 break;
777 value = f->set_alt(f, w_index, w_value); 777 value = f->set_alt(f, w_index, w_value);
778 break; 778 break;