/* s3c_hsotg_ep_sethalt_lock - set halt on a given endpoint with lock held @ep: The endpoint to set halt. @value: Set or unset the halt.  */
static int s3c_hsotg_ep_sethalt_lock(struct usb_ep *ep, int value)
/* s3c_hsotg_ep_sethalt_lock - set halt on a given endpoint with lock held @ep: The endpoint to set halt. @value: Set or unset the halt.  */
static int s3c_hsotg_ep_sethalt_lock(struct usb_ep *ep, int value)
{
	struct s3c_hsotg_ep *hs_ep = our_ep(ep);
	struct s3c_hsotg *hs = hs_ep->parent;
	unsigned long flags = 0;
	int ret = 0;
	spin_lock_irqsave(&hs->lock, flags);
	ret = s3c_hsotg_ep_sethalt(ep, value);
	spin_unlock_irqrestore(&hs->lock, flags);
	return ret;
}