Skip to content

Commit

Permalink
eq_iir: reduce logging verbosity during freeing
Browse files Browse the repository at this point in the history
When pipelines are destroyed, component drivers' .reset() and .free()
are called. If those drivers were loaded dynamically their memory is
then unmapped. But logging takes place in a low priority task, so it
is important that no logging is done from those methods.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Jul 2, 2024
1 parent ea1ce6a commit c8e8dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio/eq_iir/eq_iir.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ static int eq_iir_free(struct processing_module *mod)
{
struct comp_data *cd = module_get_private_data(mod);

comp_info(mod->dev, "eq_iir_free()");
comp_dbg(mod->dev, "eq_iir_free()");

eq_iir_free_delaylines(cd);
comp_data_blob_handler_free(cd->model_handler);
Expand Down Expand Up @@ -234,7 +234,7 @@ static int eq_iir_reset(struct processing_module *mod)
struct comp_data *cd = module_get_private_data(mod);
int i;

comp_info(mod->dev, "eq_iir_reset()");
comp_dbg(mod->dev, "eq_iir_reset()");

eq_iir_free_delaylines(cd);

Expand Down

0 comments on commit c8e8dc4

Please sign in to comment.