diff options
Diffstat (limited to 'drivers/usb/gadget/function/f_uac1_legacy.c')
-rw-r--r-- | drivers/usb/gadget/function/f_uac1_legacy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/function/f_uac1_legacy.c b/drivers/usb/gadget/function/f_uac1_legacy.c index 24c086bcdeaa..6677ae932de0 100644 --- a/drivers/usb/gadget/function/f_uac1_legacy.c +++ b/drivers/usb/gadget/function/f_uac1_legacy.c | |||
@@ -54,8 +54,8 @@ static struct uac1_ac_header_descriptor_1 ac_header_desc = { | |||
54 | .bLength = UAC_DT_AC_HEADER_LENGTH, | 54 | .bLength = UAC_DT_AC_HEADER_LENGTH, |
55 | .bDescriptorType = USB_DT_CS_INTERFACE, | 55 | .bDescriptorType = USB_DT_CS_INTERFACE, |
56 | .bDescriptorSubtype = UAC_HEADER, | 56 | .bDescriptorSubtype = UAC_HEADER, |
57 | .bcdADC = __constant_cpu_to_le16(0x0100), | 57 | .bcdADC = cpu_to_le16(0x0100), |
58 | .wTotalLength = __constant_cpu_to_le16(UAC_DT_TOTAL_LENGTH), | 58 | .wTotalLength = cpu_to_le16(UAC_DT_TOTAL_LENGTH), |
59 | .bInCollection = F_AUDIO_NUM_INTERFACES, | 59 | .bInCollection = F_AUDIO_NUM_INTERFACES, |
60 | .baInterfaceNr = { | 60 | .baInterfaceNr = { |
61 | /* Interface number of the first AudioStream interface */ | 61 | /* Interface number of the first AudioStream interface */ |
@@ -183,7 +183,7 @@ static struct uac_iso_endpoint_descriptor as_iso_out_desc = { | |||
183 | .bDescriptorSubtype = UAC_EP_GENERAL, | 183 | .bDescriptorSubtype = UAC_EP_GENERAL, |
184 | .bmAttributes = 1, | 184 | .bmAttributes = 1, |
185 | .bLockDelayUnits = 1, | 185 | .bLockDelayUnits = 1, |
186 | .wLockDelay = __constant_cpu_to_le16(1), | 186 | .wLockDelay = cpu_to_le16(1), |
187 | }; | 187 | }; |
188 | 188 | ||
189 | static struct usb_descriptor_header *f_audio_desc[] = { | 189 | static struct usb_descriptor_header *f_audio_desc[] = { |