Commit 381b1247 authored by Thinh Nguyen's avatar Thinh Nguyen Committed by Todd Kjos
Browse files

UPSTREAM: usb: dwc3: gadget: Return -ESHUTDOWN on ep disable



The usb_request API clearly noted that removed requests due to disabled
endpoint should have -ESHUTDOWN status returned. Don't change this
behavior.

Fixes: b44c0e7f ("usb: dwc3: gadget: conditionally remove requests")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/3421859485cb32d77e2068549679a6c07a7797bc.1667875427.git.Thinh.Nguyen@synopsys.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit ffb9da4a)

Bug: 290141348
Bug: 290331654
Change-Id: I92e7910e3957fb7e77bf6a1b1c121ce143f1c1c6
Signed-off-by: default avatarUdipto Goswami <quic_ugoswami@quicinc.com>
Signed-off-by: default avatarMukesh Ojha <quic_mojha@quicinc.com>
parent b57e6b08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment