Hi, (subject format, please prepend 'usb:') Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx> writes: > In the dwc3_prepare_trbs_sg routine, when all data from request was > handled pending_sgs should be set to the number of mapped sgs that are ^^ , > not queued up. > > Currently the code will result in pending_sgs == queued_sgs. That > variables value will likely not be zero and break dwc3_prepare_trbs. ^^^^^^^^^ variable's you say it's 'likely'. Got any minimal reproduction method? > This patch fixes the setting of the variable to its intended purpose. > > Signed-off-by: Michael Grzeschik <m.grzeschik@xxxxxxxxxxxxxx> please add Fixes tag and Cc stable -- balbi
Attachment:
signature.asc
Description: PGP signature