android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ruslan Bilovol 1d7e19cf79 usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength
[ Upstream commit a9cf8715180b18c62addbfe6f6267b8101903119 ]

As per UAC2 spec (ch. 4.7.2), wTotalLength of AC Interface
Header Descriptor "includes the combined length of this
descriptor header and all Clock Source, Unit and Terminal
descriptors."

Thus add its size to its wTotalLength.

Also after recent changes wTotalLength is calculated
dynamically, update static definition of uac2_ac_header_descriptor
accordingly

Fixes: 132fcb4608 ("usb: gadget: Add Audio Class 2.0 Driver")
Signed-off-by: Ruslan Bilovol <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-08-19 08:16:15 +02:00
..
atm
c67x00 USB: c67x00: fix use after free in c67x00_giveback_urb 2020-07-22 09:33:09 +02:00
cdns3 usb: cdns3: trace: fix some endian issues 2020-07-29 10:18:38 +02:00
chipidea usb: chipidea: core: add wakeup support for extcon 2020-07-22 09:33:10 +02:00
class cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip 2020-06-30 15:36:52 -04:00
common
core usb: core: fix quirks_param_set() writing to a const pointer 2020-08-19 08:16:14 +02:00
dwc2 usb: dwc2: Fix error path in gadget registration 2020-08-19 08:16:15 +02:00
dwc3 usb: dwc3: pci: add support for the Intel Jasper Lake 2020-07-29 10:18:38 +02:00
early USB: early: Handle AMD's spec-compliant identifiers, too 2020-04-29 16:33:13 +02:00
gadget usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength 2020-08-19 08:16:15 +02:00
host usb: xhci: Fix ASMedia ASM1142 DMA addressing 2020-08-11 15:33:32 +02:00
image
isp1760
misc USB: iowarrior: fix up report size handling for some devices 2020-08-11 15:33:32 +02:00
mon
mtu3 usb: mtu3: clear dual mode of u3port when disable device 2020-08-19 08:16:02 +02:00
musb usb: musb: Fix runtime PM imbalance on error 2020-06-10 20:24:56 +02:00
phy usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()' 2020-06-03 08:21:12 +02:00
renesas_usbhs usb: renesas_usbhs: getting residue from callback_result 2020-06-30 15:37:00 -04:00
roles
serial USB: serial: iuu_phoenix: fix led-activity helpers 2020-08-19 08:16:14 +02:00
storage USB: uas: add quirk for LaCie 2Big Quadra 2020-05-14 07:58:25 +02:00
typec usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs 2020-06-30 15:36:49 -04:00
usbip
Kconfig
Makefile
usb-skeleton.c