diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-20 11:25:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-20 11:25:44 -0400 |
commit | af52739b922f656eb1f39016fabaabe4baeda2e2 (patch) | |
tree | 79a7aa810d0493cd0cf4adebac26d37f12e8b545 /drivers/usb/gadget/function/f_uac2.c | |
parent | 25ed6a5e97809129a1bc852b6b5c7d03baa112c4 (diff) | |
parent | 33688abb2802ff3a230bd2441f765477b94cc89e (diff) |
Merge 4.7-rc4 into staging-next
We want the fixes in here, and we can resolve a merge issue in
drivers/iio/industrialio-trigger.c
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/function/f_uac2.c')
-rw-r--r-- | drivers/usb/gadget/function/f_uac2.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/usb/gadget/function/f_uac2.c b/drivers/usb/gadget/function/f_uac2.c index 186d4b162524..cd214ec8a601 100644 --- a/drivers/usb/gadget/function/f_uac2.c +++ b/drivers/usb/gadget/function/f_uac2.c | |||
@@ -598,18 +598,6 @@ static struct usb_gadget_strings *fn_strings[] = { | |||
598 | NULL, | 598 | NULL, |
599 | }; | 599 | }; |
600 | 600 | ||
601 | static struct usb_qualifier_descriptor devqual_desc = { | ||
602 | .bLength = sizeof devqual_desc, | ||
603 | .bDescriptorType = USB_DT_DEVICE_QUALIFIER, | ||
604 | |||
605 | .bcdUSB = cpu_to_le16(0x200), | ||
606 | .bDeviceClass = USB_CLASS_MISC, | ||
607 | .bDeviceSubClass = 0x02, | ||
608 | .bDeviceProtocol = 0x01, | ||
609 | .bNumConfigurations = 1, | ||
610 | .bRESERVED = 0, | ||
611 | }; | ||
612 | |||
613 | static struct usb_interface_assoc_descriptor iad_desc = { | 601 | static struct usb_interface_assoc_descriptor iad_desc = { |
614 | .bLength = sizeof iad_desc, | 602 | .bLength = sizeof iad_desc, |
615 | .bDescriptorType = USB_DT_INTERFACE_ASSOCIATION, | 603 | .bDescriptorType = USB_DT_INTERFACE_ASSOCIATION, |
@@ -1292,6 +1280,7 @@ in_rq_cur(struct usb_function *fn, const struct usb_ctrlrequest *cr) | |||
1292 | 1280 | ||
1293 | if (control_selector == UAC2_CS_CONTROL_SAM_FREQ) { | 1281 | if (control_selector == UAC2_CS_CONTROL_SAM_FREQ) { |
1294 | struct cntrl_cur_lay3 c; | 1282 | struct cntrl_cur_lay3 c; |
1283 | memset(&c, 0, sizeof(struct cntrl_cur_lay3)); | ||
1295 | 1284 | ||
1296 | if (entity_id == USB_IN_CLK_ID) | 1285 | if (entity_id == USB_IN_CLK_ID) |
1297 | c.dCUR = p_srate; | 1286 | c.dCUR = p_srate; |