Skip to content

Commit 59094a5

Browse files
lyakhlgirdwood
authored andcommitted
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 f7fb24d commit 59094a5

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
@@ -139,7 +139,7 @@ static int mixin_init(struct processing_module *mod)
139139
struct mixin_data *md;
140140
int i;
141141

142-
comp_dbg(dev, "mixin_init()");
142+
comp_dbg(dev, "entry");
143143

144144
md = rzalloc(SOF_MEM_FLAG_USER, sizeof(*md));
145145
if (!md)
@@ -166,7 +166,7 @@ static int mixout_init(struct processing_module *mod)
166166
struct comp_dev *dev = mod->dev;
167167
struct mixout_data *mo_data;
168168

169-
comp_dbg(dev, "mixout_new()");
169+
comp_dbg(dev, "entry");
170170

171171
mo_data = rzalloc(SOF_MEM_FLAG_USER, sizeof(*mo_data));
172172
if (!mo_data)
@@ -320,7 +320,7 @@ static int mixin_process(struct processing_module *mod,
320320
int i, ret;
321321
struct cir_buf_ptr source_ptr;
322322

323-
comp_dbg(dev, "mixin_process()");
323+
comp_dbg(dev, "entry");
324324

325325
source_avail_frames = source_get_data_frames_available(sources[0]);
326326
sinks_free_frames = INT32_MAX;
@@ -526,7 +526,7 @@ static int mixout_process(struct processing_module *mod,
526526
struct pending_frames *pending_frames;
527527
int i;
528528

529-
comp_dbg(dev, "mixout_process()");
529+
comp_dbg(dev, "entry");
530530

531531
md = module_get_private_data(mod);
532532

@@ -650,7 +650,7 @@ static int mixin_params(struct processing_module *mod)
650650
int i;
651651
int ret;
652652

653-
comp_dbg(dev, "mixin_params()");
653+
comp_dbg(dev, "entry");
654654

655655
ipc4_base_module_cfg_to_stream_params(&mod->priv.cfg.base_cfg, params);
656656

@@ -717,7 +717,7 @@ static int mixin_prepare(struct processing_module *mod,
717717
enum sof_ipc_frame fmt;
718718
int ret;
719719

720-
comp_info(dev, "mixin_prepare()");
720+
comp_info(dev, "entry");
721721
md->eos_delay_configured = false;
722722

723723
ret = mixin_params(mod);
@@ -753,7 +753,7 @@ static int mixout_params(struct processing_module *mod)
753753
enum sof_ipc_frame frame_fmt, valid_fmt;
754754
int ret;
755755

756-
comp_dbg(dev, "mixout_params()");
756+
comp_dbg(dev, "entry");
757757

758758
ipc4_base_module_cfg_to_stream_params(&mod->priv.cfg.base_cfg, params);
759759

@@ -790,7 +790,7 @@ static int mixout_prepare(struct processing_module *mod,
790790
if (ret < 0)
791791
return ret;
792792

793-
comp_dbg(dev, "mixout_prepare()");
793+
comp_dbg(dev, "entry");
794794

795795
/*
796796
* Since mixout sink buffer stream is reset on .prepare(), let's
@@ -822,7 +822,7 @@ static int mixout_bind(struct processing_module *mod, struct bind_info *bind_dat
822822

823823
mixin = ipc4_get_comp_dev(src_id);
824824
if (!mixin) {
825-
comp_err(mod->dev, "mixout_bind: no mixin with ID %d found", src_id);
825+
comp_err(mod->dev, "no mixin with ID %d found", src_id);
826826
return -EINVAL;
827827
}
828828

@@ -860,7 +860,7 @@ static int mixout_unbind(struct processing_module *mod, struct bind_info *unbind
860860
int src_id;
861861
struct mixout_data *mixout_data;
862862

863-
comp_dbg(mod->dev, "mixout_unbind()");
863+
comp_dbg(mod->dev, "entry");
864864

865865
bu = unbind_data->ipc4_data;
866866
src_id = IPC4_COMP_ID(bu->primary.r.module_id, bu->primary.r.instance_id);
@@ -871,7 +871,7 @@ static int mixout_unbind(struct processing_module *mod, struct bind_info *unbind
871871

872872
mixin = ipc4_get_comp_dev(src_id);
873873
if (!mixin) {
874-
comp_err(mod->dev, "mixout_bind: no mixin with ID %d found", src_id);
874+
comp_err(mod->dev, "no mixin with ID %d found", src_id);
875875
return -EINVAL;
876876
}
877877

@@ -900,30 +900,30 @@ static int mixin_set_config(struct processing_module *mod, uint32_t config_id,
900900
uint16_t gain;
901901

902902
if (config_id != IPC4_MIXER_MODE) {
903-
comp_err(dev, "mixin_set_config() unsupported param ID: %u", config_id);
903+
comp_err(dev, "unsupported param ID: %u", config_id);
904904
return -EINVAL;
905905
}
906906

907907
if (!(pos & MODULE_CFG_FRAGMENT_SINGLE)) {
908-
comp_err(dev, "mixin_set_config() data is expected to be sent as one chunk");
908+
comp_err(dev, "data is expected to be sent as one chunk");
909909
return -EINVAL;
910910
}
911911

912912
/* for a single chunk data, data_offset_size is size */
913913
if (data_offset_size < sizeof(struct ipc4_mixer_mode_config)) {
914-
comp_err(dev, "mixin_set_config() too small data size: %u", data_offset_size);
914+
comp_err(dev, "too small data size: %u", data_offset_size);
915915
return -EINVAL;
916916
}
917917

918918
if (data_offset_size > SOF_IPC_MSG_MAX_SIZE) {
919-
comp_err(dev, "mixin_set_config() too large data size: %u", data_offset_size);
919+
comp_err(dev, "too large data size: %u", data_offset_size);
920920
return -EINVAL;
921921
}
922922

923923
cfg = (const struct ipc4_mixer_mode_config *)fragment;
924924

925925
if (cfg->mixer_mode_config_count < 1 || cfg->mixer_mode_config_count > MIXIN_MAX_SINKS) {
926-
comp_err(dev, "mixin_set_config() invalid mixer_mode_config_count: %u",
926+
comp_err(dev, "invalid mixer_mode_config_count: %u",
927927
cfg->mixer_mode_config_count);
928928
return -EINVAL;
929929
}

0 commit comments

Comments
 (0)