/* s3c_hsotg_complete_request_lock - complete a request given to us (locked) @hsotg: The device state. @hs_ep: The endpoint the request was on. @hs_req: The request to complete.  */
static void s3c_hsotg_complete_request_lock(struct s3c_hsotg *hsotg, struct s3c_hsotg_ep *hs_ep, struct s3c_hsotg_req *hs_req, int result)
/* s3c_hsotg_complete_request_lock - complete a request given to us (locked) @hsotg: The device state. @hs_ep: The endpoint the request was on. @hs_req: The request to complete.  */
static void s3c_hsotg_complete_request_lock(struct s3c_hsotg *hsotg, struct s3c_hsotg_ep *hs_ep, struct s3c_hsotg_req *hs_req, int result)
{
	unsigned long flags;
	spin_lock_irqsave(&hs_ep->lock, flags);
	s3c_hsotg_complete_request(hsotg, hs_ep, hs_req, result);
	spin_unlock_irqrestore(&hs_ep->lock, flags);
}