diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2022-10-18 00:11:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-10-25 19:06:13 +0200 |
commit | 19905240aef0181d1e6944070eb85fce75f75bcd (patch) | |
tree | 92e1fa478b6de86f64ef793d68d957e63ccebb0a /drivers/ptp | |
parent | usb: bdc: change state when port disconnected (diff) | |
download | linux-19905240aef0181d1e6944070eb85fce75f75bcd.tar.xz linux-19905240aef0181d1e6944070eb85fce75f75bcd.zip |
usb: gadget: uvc: limit isoc_sg to super speed gadgets
The overhead of preparing sg data is high for transfers with limited
payload. When transferring isoc over high-speed usb the maximum payload
is rather small which is a good argument no to use sg. This patch is
changing the uvc_video_encode_isoc_sg encode function only to be used
for super speed gadgets.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20221017221141.3134818-1-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions