@@ -109,7 +109,7 @@ void mei_io_cb_free(struct mei_cl_cb *cb)
109109 * mei_io_cb_init - allocate and initialize io callback
110110 *
111111 * @cl - mei client
112- * @file : pointer to file structure
112+ * @fp : pointer to file structure
113113 *
114114 * returns mei_cl_cb pointer or NULL;
115115 */
@@ -132,8 +132,8 @@ struct mei_cl_cb *mei_io_cb_init(struct mei_cl *cl, struct file *fp)
132132/**
133133 * mei_io_cb_alloc_req_buf - allocate request buffer
134134 *
135- * @cb - io callback structure
136- * @size : size of the buffer
135+ * @cb: io callback structure
136+ * @length : size of the buffer
137137 *
138138 * returns 0 on success
139139 * -EINVAL if cb is NULL
@@ -154,10 +154,10 @@ int mei_io_cb_alloc_req_buf(struct mei_cl_cb *cb, size_t length)
154154 return 0 ;
155155}
156156/**
157- * mei_io_cb_alloc_req_buf - allocate respose buffer
157+ * mei_io_cb_alloc_resp_buf - allocate respose buffer
158158 *
159- * @cb - io callback structure
160- * @size : size of the buffer
159+ * @cb: io callback structure
160+ * @length : size of the buffer
161161 *
162162 * returns 0 on success
163163 * -EINVAL if cb is NULL
@@ -183,7 +183,6 @@ int mei_io_cb_alloc_resp_buf(struct mei_cl_cb *cb, size_t length)
183183/**
184184 * mei_cl_flush_queues - flushes queue lists belonging to cl.
185185 *
186- * @dev: the device structure
187186 * @cl: host client
188187 */
189188int mei_cl_flush_queues (struct mei_cl * cl )
@@ -243,7 +242,8 @@ struct mei_cl *mei_cl_allocate(struct mei_device *dev)
243242/**
244243 * mei_cl_find_read_cb - find this cl's callback in the read list
245244 *
246- * @dev: device structure
245+ * @cl: host client
246+ *
247247 * returns cb on success, NULL on error
248248 */
249249struct mei_cl_cb * mei_cl_find_read_cb (struct mei_cl * cl )
@@ -262,6 +262,7 @@ struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
262262 *
263263 * @cl - host client
264264 * @id - fixed host id or -1 for genereting one
265+ *
265266 * returns 0 on success
266267 * -EINVAL on incorrect values
267268 * -ENONET if client not found
@@ -301,7 +302,7 @@ int mei_cl_link(struct mei_cl *cl, int id)
301302/**
302303 * mei_cl_unlink - remove me_cl from the list
303304 *
304- * @dev: the device structure
305+ * @cl: host client
305306 */
306307int mei_cl_unlink (struct mei_cl * cl )
307308{
@@ -534,7 +535,6 @@ int mei_cl_connect(struct mei_cl *cl, struct file *file)
534535/**
535536 * mei_cl_flow_ctrl_creds - checks flow_control credits for cl.
536537 *
537- * @dev: the device structure
538538 * @cl: private data of the file object
539539 *
540540 * returns 1 if mei_flow_ctrl_creds >0, 0 - otherwise.
@@ -575,8 +575,8 @@ int mei_cl_flow_ctrl_creds(struct mei_cl *cl)
575575/**
576576 * mei_cl_flow_ctrl_reduce - reduces flow_control.
577577 *
578- * @dev: the device structure
579578 * @cl: private data of the file object
579+ *
580580 * @returns
581581 * 0 on success
582582 * -ENOENT when me client is not found
@@ -614,7 +614,7 @@ int mei_cl_flow_ctrl_reduce(struct mei_cl *cl)
614614}
615615
616616/**
617- * mei_cl_start_read - the start read client message function.
617+ * mei_cl_read_start - the start read client message function.
618618 *
619619 * @cl: host client
620620 *
0 commit comments