Commit 33b5613a authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Todd Kjos
Browse files

UPSTREAM: usb: dwc3: gadget: ep_queue simplify isoc start condition



To improve reading the code this patch moves the cases to start_isoc or
return the function under one common condition check.

Reviewed-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220306211251.2281335-2-m.grzeschik@pengutronix.de


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

(cherry picked from commit 26d27a10)

Bug: 263189538
Change-Id: I60ada6edcc6f1a505f2a3d86fc4a6d8b7d22f089
Signed-off-by: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
parent d099b9a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment