Commit 1aa6d763 authored by Dan Vacura's avatar Dan Vacura Committed by Lee Jones
Browse files

UPSTREAM: usb: gadget: uvc: fix dropped frame after missed isoc



With the re-use of the previous completion status in 0d1c407b
("usb: dwc3: gadget: Return proper request status") it could be possible
that the next frame would also get dropped if the current frame has a
missed isoc error. Ensure that an interrupt is requested for the start
of a new frame.

Bug: 254441685
Fixes: fc78941d ("usb: gadget: uvc: decrease the interrupt load to a quarter")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarDan Vacura <w36195@motorola.com>
Link: https://lore.kernel.org/r/20221018215044.765044-2-w36195@motorola.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 8e8e923a)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I5369ea7ef5fb76385241c8d137ee2907eb443c5a
parent 4c22b859
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment