Jerome Brunet <jbrunet@xxxxxxxxxxxx> writes: > 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 <jbrunet@xxxxxxxxxxxx> Acked-by: Felipe Balbi <balbi@xxxxxxxxxx> -- balbi
Attachment:
signature.asc
Description: PGP signature