usb: chipidea: udc: _ep_queue and _hw_queue cleanup
authorFelipe F. Tonello <eu@felipetonello.com>
Fri, 18 Sep 2015 17:30:19 +0000 (18:30 +0100)
committerPeter Chen <peter.chen@freescale.com>
Thu, 24 Dec 2015 06:15:26 +0000 (14:15 +0800)
Update comments to reflect current state of functions.

Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/udc.c

index b292b454c77ba8862b1e23c6472ea0ebf24f2b96..d917b3f27ddb18701ee7eb393f56f44fdcdf270c 100644 (file)
@@ -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)
This page took 0.02536 seconds and 5 git commands to generate.