@@ -154,7 +154,7 @@ 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_resp_buf - allocate respose buffer
157+ * mei_io_cb_alloc_resp_buf - allocate response buffer
158158 *
159159 * @cb: io callback structure
160160 * @length: size of the buffer
@@ -207,7 +207,7 @@ int mei_cl_flush_queues(struct mei_cl *cl)
207207
208208
209209/**
210- * mei_cl_init - initializes intialize cl.
210+ * mei_cl_init - initializes cl.
211211 *
212212 * @cl: host client to be initialized
213213 * @dev: mei device
@@ -263,10 +263,10 @@ struct mei_cl_cb *mei_cl_find_read_cb(struct mei_cl *cl)
263263 return NULL ;
264264}
265265
266- /** mei_cl_link: allocte host id in the host map
266+ /** mei_cl_link: allocate host id in the host map
267267 *
268268 * @cl - host client
269- * @id - fixed host id or -1 for genereting one
269+ * @id - fixed host id or -1 for generic one
270270 *
271271 * returns 0 on success
272272 * -EINVAL on incorrect values
@@ -282,19 +282,19 @@ int mei_cl_link(struct mei_cl *cl, int id)
282282
283283 dev = cl -> dev ;
284284
285- /* If Id is not asigned get one*/
285+ /* If Id is not assigned get one*/
286286 if (id == MEI_HOST_CLIENT_ID_ANY )
287287 id = find_first_zero_bit (dev -> host_clients_map ,
288288 MEI_CLIENTS_MAX );
289289
290290 if (id >= MEI_CLIENTS_MAX ) {
291- dev_err (& dev -> pdev -> dev , "id exceded %d" , MEI_CLIENTS_MAX ) ;
291+ dev_err (& dev -> pdev -> dev , "id exceeded %d" , MEI_CLIENTS_MAX );
292292 return - EMFILE ;
293293 }
294294
295295 open_handle_count = dev -> open_handle_count + dev -> iamthif_open_count ;
296296 if (open_handle_count >= MEI_MAX_OPEN_HANDLE_COUNT ) {
297- dev_err (& dev -> pdev -> dev , "open_handle_count exceded %d" ,
297+ dev_err (& dev -> pdev -> dev , "open_handle_count exceeded %d" ,
298298 MEI_MAX_OPEN_HANDLE_COUNT );
299299 return - EMFILE ;
300300 }
@@ -376,7 +376,7 @@ void mei_host_client_init(struct work_struct *work)
376376
377377
378378/**
379- * mei_cl_disconnect - disconnect host clinet form the me one
379+ * mei_cl_disconnect - disconnect host client from the me one
380380 *
381381 * @cl: host client
382382 *
@@ -455,7 +455,7 @@ int mei_cl_disconnect(struct mei_cl *cl)
455455 *
456456 * @cl: private data of the file object
457457 *
458- * returns ture if other client is connected, 0 - otherwise.
458+ * returns true if other client is connected, false - otherwise.
459459 */
460460bool mei_cl_is_other_connecting (struct mei_cl * cl )
461461{
@@ -479,7 +479,7 @@ bool mei_cl_is_other_connecting(struct mei_cl *cl)
479479}
480480
481481/**
482- * mei_cl_connect - connect host clinet to the me one
482+ * mei_cl_connect - connect host client to the me one
483483 *
484484 * @cl: host client
485485 *
@@ -774,7 +774,7 @@ int mei_cl_irq_write_complete(struct mei_cl *cl, struct mei_cl_cb *cb,
774774 * @cl: host client
775775 * @cl: write callback with filled data
776776 *
777- * returns numbe of bytes sent on success, <0 on failure.
777+ * returns number of bytes sent on success, <0 on failure.
778778 */
779779int mei_cl_write (struct mei_cl * cl , struct mei_cl_cb * cb , bool blocking )
780780{
0 commit comments