diff options
author | 2022-07-04 16:18:11 +0200 | |
---|---|---|
committer | 2022-07-08 15:00:32 +0200 | |
commit | 23385cec5f354794dadced7f28c31da7ae3eb54c (patch) | |
tree | 48ffbf2f9d08ea2b3baf3a9a20e07ff0b8b1cc45 /drivers/usb/misc/onboard_usb_hub_pdevs.c | |
parent | tools: usb: testusb: Add super-plus speed reporting (diff) | |
download | linux-dev-23385cec5f354794dadced7f28c31da7ae3eb54c.tar.xz linux-dev-23385cec5f354794dadced7f28c31da7ae3eb54c.zip |
usb: dwc3: gadget: refactor dwc3_repare_one_trb
The function __dwc3_prepare_one_trb has many parameters. Since it is
only used in dwc3_prepare_one_trb there is no point in keeping the
function. We merge both functions and get rid of the big list of
parameters.
Fixes: 40d829fb2ec6 ("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-2-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/onboard_usb_hub_pdevs.c')
0 files changed, 0 insertions, 0 deletions