|
@@ -2895,7 +2895,7 @@ static int s3c_hsotg_udc_stop(struct usb_gadget *gadget,
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
/* all endpoints should be shutdown */
|
|
/* all endpoints should be shutdown */
|
|
- for (ep = 0; ep < hsotg->num_of_eps; ep++)
|
|
|
|
|
|
+ for (ep = 1; ep < hsotg->num_of_eps; ep++)
|
|
s3c_hsotg_ep_disable(&hsotg->eps[ep].ep);
|
|
s3c_hsotg_ep_disable(&hsotg->eps[ep].ep);
|
|
|
|
|
|
spin_lock_irqsave(&hsotg->lock, flags);
|
|
spin_lock_irqsave(&hsotg->lock, flags);
|