@@ -122,7 +122,7 @@ struct pipeline *pipeline_new(uint32_t pipeline_id, uint32_t priority, uint32_t
122122 /* allocate new pipeline */
123123 p = rzalloc (SOF_MEM_FLAG_USER , sizeof (* p ));
124124 if (!p ) {
125- pipe_cl_err ("pipeline_new(): Out of Memory" );
125+ pipe_cl_err ("Out of Memory" );
126126 return NULL ;
127127 }
128128
@@ -135,13 +135,13 @@ struct pipeline *pipeline_new(uint32_t pipeline_id, uint32_t priority, uint32_t
135135 ret = memcpy_s (& p -> tctx , sizeof (struct tr_ctx ), & pipe_tr ,
136136 sizeof (struct tr_ctx ));
137137 if (ret < 0 ) {
138- pipe_err (p , "pipeline_new(): failed to copy trace settings" );
138+ pipe_err (p , "failed to copy trace settings" );
139139 goto free ;
140140 }
141141
142142 ret = pipeline_posn_offset_get (& p -> posn_offset );
143143 if (ret < 0 ) {
144- pipe_err (p , "pipeline_new(): pipeline_posn_offset_get failed %d" ,
144+ pipe_err (p , "pipeline_posn_offset_get failed %d" ,
145145 ret );
146146 goto free ;
147147 }
@@ -152,7 +152,7 @@ struct pipeline *pipeline_new(uint32_t pipeline_id, uint32_t priority, uint32_t
152152 if (posn .rhdr .hdr .size ) {
153153 p -> msg = ipc_msg_init (posn .rhdr .hdr .cmd , posn .rhdr .hdr .size );
154154 if (!p -> msg ) {
155- pipe_err (p , "pipeline_new(): ipc_msg_init failed" );
155+ pipe_err (p , "ipc_msg_init failed" );
156156 goto free ;
157157 }
158158 }
@@ -293,7 +293,7 @@ int pipeline_complete(struct pipeline *p, struct comp_dev *source,
293293
294294 /* check whether pipeline is already completed */
295295 if (p -> status != COMP_STATE_INIT ) {
296- pipe_err (p , "pipeline_complete(): Pipeline already completed" );
296+ pipe_err (p , "Pipeline already completed" );
297297 return - EINVAL ;
298298 }
299299
@@ -329,7 +329,7 @@ static int pipeline_comp_reset(struct comp_dev *current,
329329 dev_comp_id (current ), dir );
330330
331331 if (!p -> source_comp ) {
332- pipe_err (p , "pipeline_comp_reset(): source_comp is NULL" );
332+ pipe_err (p , "source_comp is NULL" );
333333 return - EINVAL ;
334334 }
335335
@@ -354,10 +354,10 @@ static int pipeline_comp_reset(struct comp_dev *current,
354354 * 2. trigger functon skipped due to error of other component's trigger function
355355 */
356356 if (current -> state == COMP_STATE_ACTIVE ) {
357- pipe_warn (current -> pipeline , "pipeline_comp_reset(): component is in active state, try to stop it" );
357+ pipe_warn (current -> pipeline , "component is in active state, try to stop it" );
358358 err = comp_trigger (current , COMP_TRIGGER_STOP );
359359 if (err )
360- pipe_err (current -> pipeline , "pipeline_comp_reset(): failed to recover" );
360+ pipe_err (current -> pipeline , "failed to recover" );
361361 }
362362
363363 err = comp_reset (current );
@@ -387,7 +387,7 @@ int pipeline_reset(struct pipeline *p, struct comp_dev *host)
387387
388388 ret = walk_ctx .comp_func (host , NULL , & walk_ctx , host -> direction );
389389 if (ret < 0 ) {
390- pipe_err (p , "pipeline_reset(): ret = %d, host->comp.id = 0x%x" ,
390+ pipe_err (p , "ret = %d, host->comp.id = 0x%x" ,
391391 ret , dev_comp_id (host ));
392392 } else {
393393 /* pipeline is reset to default state */
0 commit comments