Skip to content

Commit f183506

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

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

src/audio/mixin_mixout/mixin_mixout.c

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ static int mixin_init(struct processing_module *mod)
137137
struct mixin_data *md;
138138
int i;
139139

140-
comp_dbg(dev, "mixin_init()");
140+
comp_dbg(dev, "entry");
141141

142142
md = rzalloc(SOF_MEM_FLAG_USER, sizeof(*md));
143143
if (!md)
@@ -164,7 +164,7 @@ static int mixout_init(struct processing_module *mod)
164164
struct comp_dev *dev = mod->dev;
165165
struct mixout_data *mo_data;
166166

167-
comp_dbg(dev, "mixout_new()");
167+
comp_dbg(dev, "entry");
168168

169169
mo_data = rzalloc(SOF_MEM_FLAG_USER, sizeof(*mo_data));
170170
if (!mo_data)
@@ -300,7 +300,7 @@ static int mixin_process(struct processing_module *mod,
300300
int i, ret;
301301
struct cir_buf_ptr source_ptr;
302302

303-
comp_dbg(dev, "mixin_process()");
303+
comp_dbg(dev, "entry");
304304

305305
source_avail_frames = source_get_data_frames_available(sources[0]);
306306
sinks_free_frames = INT32_MAX;
@@ -506,7 +506,7 @@ static int mixout_process(struct processing_module *mod,
506506
struct pending_frames *pending_frames;
507507
int i;
508508

509-
comp_dbg(dev, "mixout_process()");
509+
comp_dbg(dev, "entry");
510510

511511
md = module_get_private_data(mod);
512512

@@ -630,7 +630,7 @@ static int mixin_params(struct processing_module *mod)
630630
int i;
631631
int ret;
632632

633-
comp_dbg(dev, "mixin_params()");
633+
comp_dbg(dev, "entry");
634634

635635
ipc4_base_module_cfg_to_stream_params(&mod->priv.cfg.base_cfg, params);
636636

@@ -697,7 +697,7 @@ static int mixin_prepare(struct processing_module *mod,
697697
enum sof_ipc_frame fmt;
698698
int ret;
699699

700-
comp_info(dev, "mixin_prepare()");
700+
comp_dbg(dev, "entry");
701701

702702
ret = mixin_params(mod);
703703
if (ret < 0)
@@ -732,7 +732,7 @@ static int mixout_params(struct processing_module *mod)
732732
enum sof_ipc_frame frame_fmt, valid_fmt;
733733
int ret;
734734

735-
comp_dbg(dev, "mixout_params()");
735+
comp_dbg(dev, "entry");
736736

737737
ipc4_base_module_cfg_to_stream_params(&mod->priv.cfg.base_cfg, params);
738738

@@ -769,7 +769,7 @@ static int mixout_prepare(struct processing_module *mod,
769769
if (ret < 0)
770770
return ret;
771771

772-
comp_dbg(dev, "mixout_prepare()");
772+
comp_dbg(dev, "entry");
773773

774774
/*
775775
* Since mixout sink buffer stream is reset on .prepare(), let's
@@ -801,7 +801,7 @@ static int mixout_bind(struct processing_module *mod, struct bind_info *bind_dat
801801

802802
mixin = ipc4_get_comp_dev(src_id);
803803
if (!mixin) {
804-
comp_err(mod->dev, "mixout_bind: no mixin with ID %d found", src_id);
804+
comp_err(mod->dev, "no mixin with ID %d found", src_id);
805805
return -EINVAL;
806806
}
807807

@@ -839,7 +839,7 @@ static int mixout_unbind(struct processing_module *mod, struct bind_info *unbind
839839
int src_id;
840840
struct mixout_data *mixout_data;
841841

842-
comp_dbg(mod->dev, "mixout_unbind()");
842+
comp_dbg(mod->dev, "entry");
843843

844844
bu = unbind_data->ipc4_data;
845845
src_id = IPC4_COMP_ID(bu->primary.r.module_id, bu->primary.r.instance_id);
@@ -850,7 +850,7 @@ static int mixout_unbind(struct processing_module *mod, struct bind_info *unbind
850850

851851
mixin = ipc4_get_comp_dev(src_id);
852852
if (!mixin) {
853-
comp_err(mod->dev, "mixout_bind: no mixin with ID %d found", src_id);
853+
comp_err(mod->dev, "no mixin with ID %d found", src_id);
854854
return -EINVAL;
855855
}
856856

@@ -879,30 +879,30 @@ static int mixin_set_config(struct processing_module *mod, uint32_t config_id,
879879
uint16_t gain;
880880

881881
if (config_id != IPC4_MIXER_MODE) {
882-
comp_err(dev, "mixin_set_config() unsupported param ID: %u", config_id);
882+
comp_err(dev, "unsupported param ID: %u", config_id);
883883
return -EINVAL;
884884
}
885885

886886
if (!(pos & MODULE_CFG_FRAGMENT_SINGLE)) {
887-
comp_err(dev, "mixin_set_config() data is expected to be sent as one chunk");
887+
comp_err(dev, "data is expected to be sent as one chunk");
888888
return -EINVAL;
889889
}
890890

891891
/* for a single chunk data, data_offset_size is size */
892892
if (data_offset_size < sizeof(struct ipc4_mixer_mode_config)) {
893-
comp_err(dev, "mixin_set_config() too small data size: %u", data_offset_size);
893+
comp_err(dev, "too small data size: %u", data_offset_size);
894894
return -EINVAL;
895895
}
896896

897897
if (data_offset_size > SOF_IPC_MSG_MAX_SIZE) {
898-
comp_err(dev, "mixin_set_config() too large data size: %u", data_offset_size);
898+
comp_err(dev, "too large data size: %u", data_offset_size);
899899
return -EINVAL;
900900
}
901901

902902
cfg = (const struct ipc4_mixer_mode_config *)fragment;
903903

904904
if (cfg->mixer_mode_config_count < 1 || cfg->mixer_mode_config_count > MIXIN_MAX_SINKS) {
905-
comp_err(dev, "mixin_set_config() invalid mixer_mode_config_count: %u",
905+
comp_err(dev, "invalid mixer_mode_config_count: %u",
906906
cfg->mixer_mode_config_count);
907907
return -EINVAL;
908908
}

0 commit comments

Comments
 (0)