Skip to content

Commit 892529d

Browse files
lyakhlgirdwood
authored andcommitted
audio: remove function names from logging calls (1/8)
Remove verbatim function names for eq_fir. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
1 parent 6b20a6f commit 892529d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/audio/eq_fir/eq_fir.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ static int eq_fir_init_coef(struct comp_dev *dev, struct sof_eq_fir_config *conf
9999
nch = cd->nch;
100100
}
101101

102-
comp_info(dev, "eq_fir_init_coef(): %u responses, %u channels, stream %d channels",
102+
comp_info(dev, "%u responses, %u channels, stream %d channels",
103103
config->number_of_responses, config->channels_in_config, nch);
104104

105105
/* Sanity checks */
@@ -259,7 +259,7 @@ static int eq_fir_init(struct processing_module *mod)
259259
* blob size is sane.
260260
*/
261261
if (bs > SOF_EQ_FIR_MAX_SIZE) {
262-
comp_err(dev, "eq_fir_init(): coefficients blob size = %zu > SOF_EQ_FIR_MAX_SIZE",
262+
comp_err(dev, "coefficients blob size = %zu > SOF_EQ_FIR_MAX_SIZE",
263263
bs);
264264
return -EINVAL;
265265
}
@@ -276,7 +276,7 @@ static int eq_fir_init(struct processing_module *mod)
276276
/* component model data handler */
277277
cd->model_handler = comp_data_blob_handler_new(dev);
278278
if (!cd->model_handler) {
279-
comp_err(dev, "eq_fir_init(): comp_data_blob_handler_new() failed.");
279+
comp_err(dev, "comp_data_blob_handler_new() failed.");
280280
ret = -ENOMEM;
281281
goto err;
282282
}
@@ -288,7 +288,7 @@ static int eq_fir_init(struct processing_module *mod)
288288
*/
289289
ret = comp_init_data_blob(cd->model_handler, bs, cfg->init_data);
290290
if (ret < 0) {
291-
comp_err(dev, "eq_fir_init(): comp_init_data_blob() failed.");
291+
comp_err(dev, "comp_init_data_blob() failed.");
292292
goto err_init;
293293
}
294294

@@ -439,11 +439,11 @@ static int eq_fir_prepare(struct processing_module *mod,
439439
if (cd->config) {
440440
ret = eq_fir_setup(dev, cd, channels);
441441
if (ret < 0)
442-
comp_err(dev, "eq_fir_prepare(): eq_fir_setup failed.");
442+
comp_err(dev, "eq_fir_setup failed.");
443443
else if (cd->fir_delay_size)
444444
ret = set_fir_func(mod, frame_fmt);
445445
else
446-
comp_dbg(dev, "eq_fir_prepare(): pass-through");
446+
comp_dbg(dev, "pass-through");
447447
}
448448

449449
if (ret < 0)

src/audio/eq_fir/eq_fir_ipc4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ int set_fir_func(struct processing_module *mod, enum sof_ipc_frame fmt)
2424
struct comp_data *cd = module_get_private_data(mod);
2525
unsigned int valid_bit_depth = mod->priv.cfg.base_cfg.audio_fmt.valid_bit_depth;
2626

27-
comp_dbg(mod->dev, "set_fir_func(): valid_bit_depth %d", valid_bit_depth);
27+
comp_dbg(mod->dev, "valid_bit_depth %d", valid_bit_depth);
2828
switch (valid_bit_depth) {
2929
#if CONFIG_FORMAT_S16LE
3030
case IPC4_DEPTH_16BIT:

0 commit comments

Comments
 (0)