mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
usb: dwc3: gadget: Return -ESHUTDOWN on ep disable
[ Upstream commitffb9da4a04] The usb_request API clearly noted that removed requests due to disabled endpoint should have -ESHUTDOWN status returned. Don't change this behavior. Fixes:b44c0e7fef("usb: dwc3: gadget: conditionally remove requests") Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/3421859485cb32d77e2068549679a6c07a7797bc.1667875427.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of:f90f5afd50("usb: dwc3: gadget: Clear ep descriptor last") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
765ca3e63f
commit
02632ea4df
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue