linux/drivers/usb/dwc3
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
..
core.c usb: dwc3: core: Only handle soft-reset in DCTL 2022-05-09 09:04:58 +02:00
core.h
debug.h usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 2021-06-23 14:42:54 +02:00
debugfs.c usb: dwc3: debugfs: Add and remove endpoint dirs dynamically 2021-06-23 14:42:54 +02:00
drd.c usb: dwc3: Try usb-role-switch first in dwc3_drd_init 2022-05-09 09:04:58 +02:00
dwc3-exynos.c
dwc3-haps.c
dwc3-keystone.c
dwc3-meson-g12a.c usb: dwc3: meson-g12a: add IRQ check 2021-09-15 09:50:39 +02:00
dwc3-of-simple.c
dwc3-omap.c usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm 2022-04-13 21:01:00 +02:00
dwc3-pci.c usb: dwc3: pci: Fix pm_runtime_get_sync() error checking 2022-06-14 18:32:31 +02:00
dwc3-qcom.c usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe 2022-01-27 10:54:01 +01:00
dwc3-st.c
ep0.c usb: dwc3: ep0: fix NULL pointer exception 2021-06-16 12:01:41 +02:00
gadget.c usb: dwc3: gadget: fix high speed multiplier setting 2022-08-21 15:15:27 +02:00
gadget.h
host.c
io.h
Kconfig
Makefile
trace.c
trace.h
ulpi.c