summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/ep0.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-06-25 18:09:28 +0400
committerFelipe Balbi <balbi@ti.com>2012-06-25 18:09:28 +0400
commit9be2395186b3504aa5e337bd3284afb4966caae7 (patch)
tree4ca1cce6721e6e61247433aa02a7d5f3d905f421 /drivers/usb/dwc3/ep0.c
parentb4996a8631e80a2aaddb5c487ff6b9ad37315f70 (diff)
downloadlinux-9be2395186b3504aa5e337bd3284afb4966caae7.tar.xz
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: Pratyush Anand <pratyush.anand@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/ep0.c')
0 files changed, 0 insertions, 0 deletions