Skip to content

Commit 4545b61

Browse files
committed
audio: src: remove function names
Remove function names from logging, missed by automation. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent f183506 commit 4545b61

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

src/audio/src/src.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static int src_prepare(struct processing_module *mod,
4242
struct src_param *a = &cd->param;
4343
int ret;
4444

45-
comp_info(mod->dev, "src_prepare()");
45+
comp_info(mod->dev, "entry");
4646

4747
if (num_of_sources != 1 || num_of_sinks != 1)
4848
return -EINVAL;

src/audio/src/src_common.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static int src_verify_params(struct processing_module *mod)
400400
struct comp_dev *dev = mod->dev;
401401
int ret;
402402

403-
comp_dbg(dev, "src_verify_params()");
403+
comp_dbg(dev, "entry");
404404

405405
/* check whether params->rate (received from driver) are equal
406406
* to src->source_rate (PLAYBACK) or src->sink_rate (CAPTURE) set during
@@ -485,7 +485,7 @@ int src_params_general(struct processing_module *mod,
485485
int n;
486486
int err;
487487

488-
comp_info(dev, "src_params()");
488+
comp_info(dev, "entry");
489489

490490
err = src_set_params(mod, sink);
491491
if (err < 0) {
@@ -499,12 +499,12 @@ int src_params_general(struct processing_module *mod,
499499
return err;
500500
}
501501

502-
comp_info(dev, "src_params(), source_rate = %u, sink_rate = %u",
502+
comp_info(dev, "source_rate = %u, sink_rate = %u",
503503
cd->source_rate, cd->sink_rate);
504-
comp_dbg(dev, "src_params(), sample_container_bytes = %d, channels = %u, dev->frames = %u",
504+
comp_dbg(dev, "sample_container_bytes = %d, channels = %u, dev->frames = %u",
505505
cd->sample_container_bytes, cd->channels_count, dev->frames);
506506
if (!cd->sink_rate) {
507-
comp_err(dev, "src_params(), zero sink rate");
507+
comp_err(dev, "zero sink rate");
508508
return -EINVAL;
509509
}
510510

@@ -567,7 +567,7 @@ int src_params_general(struct processing_module *mod,
567567
/* This is possibly due to missing coefficients for
568568
* requested rates combination.
569569
*/
570-
comp_info(dev, "src_params(), missing coefficients for requested rates combination");
570+
comp_info(dev, "missing coefficients for requested rates combination");
571571
cd->src_func = src_fallback;
572572
return -EINVAL;
573573
}
@@ -660,7 +660,7 @@ int src_process(struct processing_module *mod,
660660
{
661661
struct comp_data *cd = module_get_private_data(mod);
662662

663-
comp_dbg(mod->dev, "src_process()");
663+
comp_dbg(mod->dev, "entry");
664664

665665
/* src component needs 1 source and 1 sink */
666666
if (!src_get_copy_limits(cd, sources[0], sinks[0])) {
@@ -693,7 +693,7 @@ int src_reset(struct processing_module *mod)
693693
{
694694
struct comp_data *cd = module_get_private_data(mod);
695695

696-
comp_info(mod->dev, "src_reset()");
696+
comp_info(mod->dev, "entry");
697697

698698
cd->src_func = src_fallback;
699699
src_polyphase_reset(&cd->src);
@@ -705,7 +705,7 @@ __cold int src_free(struct processing_module *mod)
705705
{
706706
assert_can_be_cold();
707707

708-
comp_info(mod->dev, "src_free()");
708+
comp_info(mod->dev, "entry");
709709

710710
return 0;
711711
}

src/audio/src/src_ipc3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ int src_init(struct processing_module *mod)
158158
struct comp_dev *dev = mod->dev;
159159
struct comp_data *cd = NULL;
160160

161-
comp_dbg(dev, "src_init()");
161+
comp_dbg(dev, "entry");
162162

163163
if (dev->ipc_config.type != SOF_COMP_SRC) {
164164
comp_err(dev, "Wrong IPC config type %u",

src/audio/src/src_ipc4.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ __cold int src_init(struct processing_module *mod)
195195

196196
assert_can_be_cold();
197197

198-
comp_dbg(dev, "src_init()");
198+
comp_dbg(dev, "entry");
199199

200200
if (!cfg->init_data || cfg->size != sizeof(cd->ipc_config)) {
201201
comp_err(dev, "Missing or bad size (%u) init data",
@@ -221,10 +221,10 @@ __cold int src_init(struct processing_module *mod)
221221
cd->polyphase_func = NULL;
222222
src_polyphase_reset(&cd->src);
223223

224-
comp_dbg(dev, "src_init(), channels_count = %d, depth = %d",
224+
comp_dbg(dev, "channels_count = %d, depth = %d",
225225
cd->ipc_config.base.audio_fmt.channels_count,
226226
cd->ipc_config.base.audio_fmt.depth);
227-
comp_dbg(dev, "src_init(), sampling frequency = %d, sink rate = %d",
227+
comp_dbg(dev, "sampling frequency = %d, sink rate = %d",
228228
cd->ipc_config.base.audio_fmt.sampling_frequency, cd->ipc_config.sink_rate);
229229
cd->source_rate = cd->ipc_config.base.audio_fmt.sampling_frequency;
230230
cd->sink_rate = cd->ipc_config.sink_rate;

src/audio/src/src_lite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static int src_lite_prepare(struct processing_module *mod,
2727
struct src_param *a = &cd->param;
2828
int ret;
2929

30-
comp_info(mod->dev, "src_prepare()");
30+
comp_info(mod->dev, "entry");
3131

3232
if (num_of_sources != 1 || num_of_sinks != 1)
3333
return -EINVAL;

0 commit comments

Comments
 (0)