usb: dwc3: correct set_halt implementation for ep0
authorPratyush Anand <pratyush.anand@st.com>
Mon, 25 Jun 2012 17:10:43 +0000 (22:40 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 2 Jul 2012 07:02:07 +0000 (10:02 +0300)
commit08f0d96670c53898b4154e7945e77cdd966003f7
tree52dca96f5bef8c30131cd9b653be603b2f59fc7d
parent5c81ababecd7ddae08ca944a65d8030cd393013c
usb: dwc3: correct set_halt implementation for ep0

set_halt for ep0 is called to stall a deferred control responses by the
gadget.  We already have a function to stall default control endpoint.
This patch points set_halt for ep0 to the already available function.

Signed-off-by: Pratyush Anand <pratyush.anand@st.com>
Signed-off-by: Michel Sanches <michel.sanches@st.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c
drivers/usb/dwc3/gadget.c
drivers/usb/dwc3/gadget.h