diff options
author | Michael Grzeschik <[email protected]> | 2022-07-04 16:18:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-07-08 15:00:35 +0200 |
commit | 8affe37c525d800a2628c4ecfaed13b77dc5634a (patch) | |
tree | cc11fa0513f2b6dbf0f4283e68b8804914f163ec /net/unix/af_unix.c | |
parent | 23385cec5f354794dadced7f28c31da7ae3eb54c (diff) |
usb: dwc3: gadget: fix high speed multiplier setting
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: 40d829fb2ec6 ("usb: dwc3: gadget: Correct ISOC DATA PIDs for short packets")
Cc: stable <[email protected]>
Signed-off-by: Michael Grzeschik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions