]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita2358cc46ec1ae610ee0408665789b9b84797389
tree52dca96f5bef8c30131cd9b653be603b2f59fc7d
parentec61fa0dbb53fc78f0d5081bfbc21138630ea6b0
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