Commit 632eab30 authored by Thinh Nguyen's avatar Thinh Nguyen Committed by Dan Vacura
Browse files

FROMGIT: usb: dwc3: gadget: Don't set IMI for no_interrupt



The gadget driver may have a certain expectation of how the request
completion flow should be from to its configuration. Make sure the
controller driver respect that. That is, don't set IMI (Interrupt on
Missed Isoc) when usb_request->no_interrupt is set. Also, the driver
should only set IMI to the last TRB of a chain.

Fixes: 72246da4 ("usb: Introduce DesignWare USB3 DRD Driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Reviewed-by: default avatarJeff Vanhoof <jdv1029@gmail.com>
Tested-by: default avatarJeff Vanhoof <jdv1029@gmail.com>
Link: https://lore.kernel.org/r/ced336c84434571340c07994e3667a0ee284fefe.1666735451.git.Thinh.Nguyen@synopsys.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 249635012
(cherry picked from commit 308c316d
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git

 usb-linus)
Change-Id: I224d7554bd5f06e1c03e1328942cacf707c79d6a
Signed-off-by: default avatarDan Vacura <w36195@motorola.com>
(cherry picked from commit 161b98aa)
parent ffaced15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment