Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e46fed9f authored by Felipe F. Tonello's avatar Felipe F. Tonello Committed by Peter Chen
Browse files

usb: chipidea: udc: _ep_queue and _hw_queue cleanup



Update comments to reflect current state of functions.

Signed-off-by: default avatarFelipe F. Tonello <eu@felipetonello.com>
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
parent bfccd95e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -403,9 +403,9 @@ static inline u8 _usb_addr(struct ci_hw_ep *ep)
}

/**
 * _hardware_queue: configures a request at hardware level
 * @gadget: gadget
 * _hardware_enqueue: configures a request at hardware level
 * @hwep:   endpoint
 * @hwreq:  request
 *
 * This function returns an error code
 */
@@ -787,8 +787,12 @@ static void isr_get_status_complete(struct usb_ep *ep, struct usb_request *req)

/**
 * _ep_queue: queues (submits) an I/O request to an endpoint
 * @ep:        endpoint
 * @req:       request
 * @gfp_flags: GFP flags (not used)
 *
 * Caller must hold lock
 * This function returns an error code
 */
static int _ep_queue(struct usb_ep *ep, struct usb_request *req,
		    gfp_t __maybe_unused gfp_flags)