diff options
author | Pavel Hofman <[email protected]> | 2021-09-24 10:00:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-05 13:50:09 +0200 |
commit | 0560c9c552c1815e7b480bc11fd785fefc82bb27 (patch) | |
tree | e2020a19f40140b59471106f83e7999a956638df /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 04d2b75537085cb0c85d73a2e0e50317bffa883f (diff) |
usb: gadget: f_uac2: fixed EP-IN wMaxPacketSize
Async feedback patches broke enumeration on Windows 10 previously fixed
by commit 789ea77310f0 ("usb: gadget: f_uac2: always increase endpoint
max_packet_size by one audio slot").
While the existing calculation for EP OUT capture for async mode yields
size+1 frame due to uac2_opts->fb_max > 0, playback side lost the +1
feature. Therefore the +1 frame addition must be re-introduced for
playback. Win10 enumerates the device only when both EP IN and EP OUT
max packet sizes are (at least) +1 frame.
Fixes: e89bb4288378 ("usb: gadget: u_audio: add real feedback implementation")
Cc: stable <[email protected]>
Tested-by: Henrik Enquist <[email protected]>
Tested-by: Jack Pham <[email protected]>
Signed-off-by: Pavel Hofman <[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/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions