linux-stable/drivers/usb
Michael Grzeschik f294829fb4 usb: dwc3: gadget: fix high speed multiplier setting
commit 8affe37c52 upstream.

For High-Speed Transfers the prepare_one_trb function is calculating the
multiplier setting for the trb based on the length parameter of the trb
currently prepared. This assumption is wrong. For trbs with a sg list,
the length of the actual request has to be taken instead.

Fixes: 40d829fb2e ("usb: dwc3: gadget: Correct ISOC DATA PIDs for short packets")
Cc: stable <stable@kernel.org>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220704141812.1532306-3-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-21 15:15:27 +02:00
..
atm
c67x00
cdns3 usb: cdns3: Fix issue for clear halt endpoint 2022-05-09 09:04:59 +02:00
chipidea usb: chipidea: udc: check request status before setting device address 2022-06-29 08:59:51 +02:00
class usb: cdc-wdm: fix reading stuck on device close 2022-05-18 10:23:46 +02:00
common usb: ulpi: Call of_node_put correctly 2022-02-16 12:54:28 +01:00
core USB: HCD: Fix URB giveback issue in tasklet function 2022-08-21 15:15:26 +02:00
dwc2 usb: dwc2: Fix memory leak in dwc2_hcd_init 2022-06-22 14:13:19 +02:00
dwc3 usb: dwc3: gadget: fix high speed multiplier setting 2022-08-21 15:15:27 +02:00
early Revert "usb: early: convert to readl_poll_timeout_atomic()" 2021-12-22 09:30:56 +01:00
gadget USB: gadget: Fix double-free bug in raw_gadget driver 2022-06-29 08:59:51 +02:00
host xhci-pci: Allow host runtime PM as default for Intel Meteor Lake xHCI 2022-06-29 08:59:51 +02:00
image
isp1760
misc usb: misc: fix improper handling of refcount in uss720_probe() 2022-05-09 09:04:58 +02:00
mon
mtu3 usb: mtu3: fix USB 3.0 dual-role-switch from device to host 2022-05-09 09:04:56 +02:00
musb usb: musb: Fix missing of_node_put() in omap2430_probe 2022-06-14 18:32:31 +02:00
phy usb: phy: generic: Get the vbus supply 2022-05-09 09:04:59 +02:00
renesas_usbhs
roles
serial USB: serial: ftdi_sio: add Belimo device ids 2022-07-21 21:20:18 +02:00
storage USB: storage: karma: fix rio_karma_init return 2022-06-14 18:32:31 +02:00
typec usb: typec: ucsi: Acknowledge the GET_ERROR_STATUS command completion 2022-08-21 15:15:26 +02:00
usbip usb: usbip: add missing device lock on tweak configuration cmd 2022-06-14 18:32:31 +02:00
Kconfig
Makefile
usb-skeleton.c