Skip to content

Commit e3213fa

Browse files
committed
audio: module-adapter: remove function names
Remove function names from logging, missed by automation. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 70d1ff2 commit e3213fa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/audio/module_adapter/module/modules.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static int modules_init(struct processing_module *mod)
5858
const struct ipc4_base_module_cfg *src_cfg = &md->cfg.base_cfg;
5959

6060
/* At this point module resources are allocated and it is moved to L2 memory. */
61-
comp_info(dev, "modules_init() start");
61+
comp_info(dev, "entry");
6262

6363
md->mpd.in_buff_size = src_cfg->ibs;
6464
md->mpd.out_buff_size = src_cfg->obs;
@@ -84,7 +84,7 @@ static int modules_prepare(struct processing_module *mod,
8484
{
8585
struct comp_dev *dev = mod->dev;
8686

87-
comp_info(dev, "modules_prepare()");
87+
comp_info(dev, "entry");
8888

8989
return iadk_wrapper_prepare(module_get_private_data(mod));
9090
}
@@ -109,7 +109,7 @@ static int modules_free(struct processing_module *mod)
109109
struct comp_dev *dev = mod->dev;
110110
int ret;
111111

112-
comp_info(dev, "modules_free()");
112+
comp_info(dev, "entry");
113113
ret = iadk_wrapper_free(module_get_private_data(mod));
114114
if (ret)
115115
comp_err(dev, "iadk_wrapper_free failed with error: %d", ret);

src/audio/module_adapter/module/passthrough.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DECLARE_TR_CTX(passthrough_tr, SOF_UUID(passthrough_uuid), LOG_LEVEL_INFO);
1616

1717
static int passthrough_codec_init(struct processing_module *mod)
1818
{
19-
comp_info(mod->dev, "passthrough_codec_init() start");
19+
comp_info(mod->dev, "entry");
2020
return 0;
2121
}
2222

@@ -28,7 +28,7 @@ static int passthrough_codec_prepare(struct processing_module *mod,
2828
struct module_data *codec = &mod->priv;
2929
struct comp_buffer *source = comp_dev_get_first_data_producer(dev);
3030

31-
comp_info(dev, "passthrough_codec_prepare()");
31+
comp_info(dev, "entry");
3232

3333
mod->period_bytes = audio_stream_period_bytes(&source->stream, dev->frames);
3434

@@ -55,7 +55,7 @@ static int passthrough_codec_init_process(struct processing_module *mod)
5555
struct module_data *codec = &mod->priv;
5656
struct comp_dev *dev = mod->dev;
5757

58-
comp_dbg(dev, "passthrough_codec_init_process()");
58+
comp_dbg(dev, "entry");
5959

6060
codec->mpd.produced = 0;
6161
codec->mpd.consumed = 0;
@@ -72,6 +72,8 @@ passthrough_codec_process(struct processing_module *mod,
7272
struct comp_dev *dev = mod->dev;
7373
struct module_data *codec = &mod->priv;
7474

75+
comp_dbg(dev, "entry");
76+
7577
/* Proceed only if we have enough data to fill the module buffer completely */
7678
if (input_buffers[0].size < codec->mpd.in_buff_size) {
7779
comp_dbg(dev, "not enough data to process");
@@ -84,8 +86,6 @@ passthrough_codec_process(struct processing_module *mod,
8486
memcpy_s(codec->mpd.in_buff, codec->mpd.in_buff_size,
8587
input_buffers[0].data, codec->mpd.in_buff_size);
8688

87-
comp_dbg(dev, "passthrough_codec_process()");
88-
8989
memcpy_s(codec->mpd.out_buff, codec->mpd.out_buff_size,
9090
codec->mpd.in_buff, codec->mpd.in_buff_size);
9191
codec->mpd.produced = mod->period_bytes;
@@ -104,7 +104,7 @@ static int passthrough_codec_reset(struct processing_module *mod)
104104
{
105105
struct module_data *codec = &mod->priv;
106106

107-
comp_info(mod->dev, "passthrough_codec_reset()");
107+
comp_info(mod->dev, "entry");
108108

109109
rfree(codec->mpd.in_buff);
110110
rfree(codec->mpd.out_buff);
@@ -113,7 +113,7 @@ static int passthrough_codec_reset(struct processing_module *mod)
113113

114114
static int passthrough_codec_free(struct processing_module *mod)
115115
{
116-
comp_info(mod->dev, "passthrough_codec_free()");
116+
comp_info(mod->dev, "entry");
117117

118118
/* Nothing to do */
119119
return 0;

0 commit comments

Comments
 (0)