diff options
author | Jerome Brunet <[email protected]> | 2020-12-21 18:35:28 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 15:56:22 +0100 |
commit | 9389044f27081d6ec77730c36d5bf9a1288bcda2 (patch) | |
tree | d24ad5f512cf3de152fe330abb589166ec679e41 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e5f4ca3fce90a37b23a77bfcc86800d484a80514 (diff) |
usb: gadget: f_uac2: reset wMaxPacketSize
With commit 913e4a90b6f9 ("usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth")
wMaxPacketSize is computed dynamically but the value is never reset.
Because of this, the actual maximum packet size can only decrease each time
the audio gadget is instantiated.
Reset the endpoint maximum packet size and mark wMaxPacketSize as dynamic
to solve the problem.
Fixes: 913e4a90b6f9 ("usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth")
Signed-off-by: Jerome Brunet <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions