Skip to content
Commit 9be23951 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: gadget: remove duplicated code from __dwc3_gadget_ep_set_halt



whenever we want to stall ep0, we always call
dwc3_ep0_stall_and_restart() which makes sure
to send ep0state properly rendering the code
in __dwc3_gadget_ep_set_halt() duplicated.

Reported-by: default avatarPratyush Anand <pratyush.anand@st.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent b4996a86
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment