linux/Documentation
Pavel Hofman df8247d086 FROMGIT: usb: gadget: f_uac2: Optionally determine bInterval for HS and SS
Allow setting configfs params p_hs_bint/c_hs_bint to 0. If they are set
to 0, determine the largest bInterval (4 to 1) for which the required
bandwidth of the max samplerate fits the max allowed packet size. If the
required bandwidth exceeds max bandwidth for single-packet mode
(ep->mc=1), keep bInterval at 1.

The FS speed is left at fixed bInterval=1.

If for any speed the required bandwidth exceeds the max bandwidth
corresponding to the selected/determined bInterval, print a warning.

Change-Id: I9fcc9326e6b314604b521e7b07dfd11223b070d7
Signed-off-by: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/20220127114331.41367-4-pavel.hofman@ivitera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: William Wu <william.wu@rock-chips.com>
(cherry picked from commit 355a05dc83
 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-next)
2022-03-18 14:48:07 +08:00
..
ABI FROMGIT: usb: gadget: f_uac2: Optionally determine bInterval for HS and SS 2022-03-18 14:48:07 +08:00
accounting rk: revert to v4.19 2021-03-17 18:05:39 +08:00
admin-guide Merge branch 'android12-5.10' into android12-5.10-lts 2021-08-08 09:35:52 +02:00
arm ARM: 9012/1: move device tree mapping out of linear region 2021-05-19 10:13:18 +02:00
arm64 This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
block rk: revert to v4.19 2021-03-17 18:05:39 +08:00
bpf bpf: Migrate from patchwork.ozlabs.org to patchwork.kernel.org. 2020-10-11 22:05:47 +02:00
cdrom
core-api rk: revert to v4.19 2021-03-17 18:05:39 +08:00
cpu-freq
crypto UPSTREAM: crypto: remove cipher routines from public crypto API 2021-05-13 07:53:31 +00:00
dev-tools UPSTREAM: ubsan: remove UBSAN_MISC in favor of individual options 2021-10-21 08:33:13 -07:00
device-mapper rk: revert to v4.19 2021-03-17 18:05:39 +08:00
devicetree dt-bindings: usb: et7303: add usb role and orientation switch config 2022-03-15 16:41:09 +08:00
doc-guide docs: kerneldoc.py: add support for kerneldoc -nosymbol 2020-10-15 07:49:38 +02:00
driver-api Documentation: Fix intiramfs script name 2021-07-28 14:35:47 +02:00
fault-injection lkdtm: replace SCSI_DISPATCH_CMD with SCSI_QUEUE_RQ 2021-09-15 09:50:42 +02:00
fb drm fixes (round two) for 5.10-rc1 2020-10-23 13:56:34 -07:00
features s390 updates for the 5.10 merge window 2020-10-16 12:36:38 -07:00
filesystems This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
firmware_class
firmware-guide Documentation: ACPI: fix spelling mistakes 2020-11-10 18:48:56 +01:00
fpga
gpu drm: Use USB controller's DMA mask when importing dmabufs 2021-03-17 17:06:19 +01:00
hid rk: revert to v4.19 2021-03-17 18:05:39 +08:00
hwmon hwmon: (max31790) Fix pwmX_enable attributes 2021-07-14 16:55:55 +02:00
i2c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
ia64
ide
iio
infiniband
input
isdn
kbuild rk: revert to v4.19 2021-03-17 18:05:39 +08:00
kernel-hacking
leds docs: leds: index.rst: add a missing file 2020-11-02 13:45:37 +01:00
litmus-tests
livepatch
locking Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g 2020-12-30 11:54:11 +01:00
m68k
maintainer
mhi
mips dt: Remove booting-without-of.rst 2020-10-13 13:33:16 -05:00
misc-devices Documentation: remove mic/index from misc-devices/index.rst 2020-11-04 11:38:32 +01:00
netlabel
networking This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
nios2
nvdimm
openrisc
parisc
PCI Documentation: better locations for sysfs-pci, sysfs-tagging 2020-10-09 09:33:23 -06:00
pcmcia
power rk: revert to v4.19 2021-03-17 18:05:39 +08:00
powerpc powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls 2021-05-26 12:06:53 +02:00
process docs: networking: drop special stable handling 2021-03-17 17:06:13 +01:00
RCU Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into core/rcu 2020-10-09 08:21:56 +02:00
riscv
s390
scheduler rk: revert to v4.19 2021-03-17 18:05:39 +08:00
scsi scsi: libsas: Introduce a _gfp() variant of event notifiers 2021-03-25 09:04:11 +01:00
security watch_queue: Drop references to /dev/watch_queue 2021-03-04 11:37:59 +01:00
sh dt: Remove booting-without-of.rst 2020-10-13 13:33:16 -05:00
sound UPSTREAM: ALSA: doc: Clarify IEC958 controls iface 2021-11-24 11:08:24 +08:00
sparc
sphinx tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
sphinx-static
spi
staging
target tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
timers
trace This is the 5.10.54 stable release 2021-07-28 15:23:47 +02:00
translations net: switch to the kernel.org patchwork instance 2020-11-11 17:12:00 -08:00
usb FROMGIT: usb: gadget: f_uac2: Optionally determine bInterval for HS and SS 2022-03-18 14:48:07 +08:00
userspace-api This is the 5.10.50 stable release 2021-07-14 17:35:23 +02:00
virt This is the 5.10.44 stable release 2021-06-16 13:14:03 +02:00
vm This is the 5.10.50 stable release 2021-07-14 17:35:23 +02:00
w1
watchdog
x86 rk: revert to v4.19 2021-03-17 18:05:39 +08:00
xtensa xtensa: fix TLBTEMP area placement 2020-11-16 02:13:15 -08:00
.gitignore
asm-annotations.rst x86/entry: Emit a symbol for register restoring thunk 2021-02-03 23:28:40 +01:00
atomic_bitops.txt
atomic_t.txt rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Changes
CodingStyle
conf.py rk: revert to v4.19 2021-03-17 18:05:39 +08:00
COPYING-logo
dma-buf-test-exporter.txt MALI: rockchip: upgrade bifrost DDK to g7p1-01bet0, from g6p0-01eac0 2021-10-29 18:44:22 +08:00
docutils.conf
dontdiff kbuild: generate Module.symvers only when vmlinux exists 2021-05-19 10:12:59 +02:00
index.rst rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Kconfig docs: Kconfig/Makefile: add a check for broken ABI files 2020-10-30 13:08:07 +01:00
logo.gif
Makefile A small number of fixes, plus a build tweak to respect the desire for 2020-11-03 09:57:30 -08:00
memory-barriers.txt
SubmittingPatches
watch_queue.rst