Commit e2900cc6 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Neill Kapron
Browse files

FROMGIT: usb: gadget: uvc: wake pump everytime we update the free list



Since the req_free list will updated if enqueuing one request was not
possible it will be added back to the free list. With every available
free request in the queue it is a valid case for the pump worker to use
it and continue the pending bufferdata into requests for the req_ready
list.

Fixes: 6acba034 ("usb:gadget:uvc Do not use worker thread to pump isoc usb requests")
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20240403-uvc_request_length_by_interval-v7-1-e224bb1035f0@pengutronix.de


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

Bug: 379236348
(cherry picked from commit adc292d5 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/

 usb-next)
Change-Id: Ie3714f15f0f19dbf04a0ae18c8fe4a05661d64d2
Signed-off-by: default avatarSelvarasu Ganesan <selvarasu.g@samsung.com>
parent 138ec9ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment