linux/drivers/usb/gadget/function
Jack Pham f0e8a206a2 usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval
For Isochronous endpoints, the SS companion descriptor's
wBytesPerInterval field is required to reserve bus time in order
to transmit the required payload during the service interval.
If left at 0, the UAC2 function is unable to transact data on its
playback or capture endpoints in SuperSpeed mode.

Since f_uac2 currently does not support any bursting this value can
be exactly equal to the calculated wMaxPacketSize.

Tested with Windows 10 as a host.

Fixes: f8cb3d556b ("usb: f_uac2: adds support for SS and SSP")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Link: https://lore.kernel.org/r/20210909174811.12534-3-jackp@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-14 10:42:44 +02:00
..
f_acm.c USB: gadget: f_acm: add support for SuperSpeed Plus 2020-12-10 16:12:20 +01:00
f_ecm.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_eem.c usb: gadget: eem: fix echo command packet response issue 2021-06-21 11:27:22 +02:00
f_fs.c usb: gadget: remove useless cast 2021-08-05 12:31:27 +02:00
f_hid.c usb: gadget: f_hid: optional SETUP/SET_REPORT mode 2021-08-24 15:41:08 +02:00
f_loopback.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_mass_storage.c usb: gadget: mass_storage: Remove repeated verbose license text 2021-08-26 13:25:33 +02:00
f_mass_storage.h
f_midi.c usb/gadget: f_midi: Replace tasklet with work 2021-01-12 12:52:28 +01:00
f_ncm.c usb: gadget: f_ncm: ncm_wrap_ntb - move var definitions into if statement 2021-07-21 10:04:19 +02:00
f_obex.c
f_phonet.c
f_printer.c Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
f_rndis.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_serial.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_sourcesink.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_subset.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_tcm.c usb: fix various gadgets null ptr deref on 10gbps cabling. 2021-06-09 10:37:13 +02:00
f_uac1_legacy.c
f_uac1.c usb: gadget: f_uac1: fixing inconsistent indenting 2021-08-18 15:33:02 +02:00
f_uac2.c usb: gadget: f_uac2: Populate SS descriptors' wBytesPerInterval 2021-09-14 10:42:44 +02:00
f_uvc.c usb: gadget: uvc: set v4l2_dev->dev in f_uvc 2021-07-27 15:59:18 +02:00
f_uvc.h
g_zero.h
Makefile
ndis.h
rndis.c
rndis.h
storage_common.c block: remove i_bdev 2020-12-01 14:53:39 -07:00
storage_common.h
tcm.h
u_audio.c usb: gadget: u_audio: EP-OUT bInterval in fback frequency 2021-09-14 10:32:06 +02:00
u_audio.h usb: gadget: u_audio: add bi-directional volume and mute support 2021-07-21 10:10:11 +02:00
u_ecm.h
u_eem.h
u_ether_configfs.h USB: gadget: u_ether: Fix a configfs return code 2021-03-10 09:36:12 +01:00
u_ether.c usb: gadget: u_ether: fix a potential null pointer dereference 2021-07-21 10:04:19 +02:00
u_ether.h usb: gadget: u_ether: support configuring interface names. 2021-01-15 16:08:53 +01:00
u_fs.h
u_gether.h
u_hid.h usb: gadget: f_hid: optional SETUP/SET_REPORT mode 2021-08-24 15:41:08 +02:00
u_midi.h usb: gadget: function: Fix inconsistent indent 2021-05-10 11:16:10 +02:00
u_ncm.h
u_phonet.h
u_printer.h
u_rndis.h
u_serial.c Merge 5.14-rc5 into tty-next 2021-08-09 08:52:46 +02:00
u_serial.h
u_tcm.h
u_uac1_legacy.c
u_uac1_legacy.h
u_uac1.h usb: gadget: f_uac1: add volume and mute support 2021-07-21 10:10:11 +02:00
u_uac2.h usb: gadget: f_uac2: add volume and mute support 2021-07-21 10:10:11 +02:00
u_uvc.h
uvc_configfs.c usb: gadget: Drop unnecessary NULL checks after container_of 2021-05-10 11:16:10 +02:00
uvc_configfs.h
uvc_queue.c usb: gadget: uvc: add scatter gather support 2021-07-27 15:59:19 +02:00
uvc_queue.h usb: gadget: uvc: add scatter gather support 2021-07-27 15:59:19 +02:00
uvc_v4l2.c
uvc_v4l2.h
uvc_video.c usb: gadget: uvc: decrease the interrupt load to a quarter 2021-07-27 15:59:19 +02:00
uvc_video.h usb: gadget: uvc: add scatter gather support 2021-07-27 15:59:19 +02:00
uvc.h usb: gadget: uvc: decrease the interrupt load to a quarter 2021-07-27 15:59:19 +02:00