OSDN Git Service

usb: dwc3: return error in case of run/stop timeout dwc3-for-v3.6
authorPratyush Anand <pratyush.anand@st.com>
Mon, 2 Jul 2012 04:51:55 +0000 (10:21 +0530)
committerFelipe Balbi <balbi@ti.com>
Mon, 2 Jul 2012 07:04:02 +0000 (10:04 +0300)
commit6f17f74b3d8345663f5fcfd834145685110075bd
tree6c9ded5a65bc3d6a2c4930f677863273d3cb976e
parente274a31e29b6a097c32f526493f4ebce10856dcb
usb: dwc3: return error in case of run/stop timeout

Although timeout has never been experienced, still to make it
meaningful, its better to return error if it ever occurs.

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