Skip to content

Commit

Permalink
ipc3: fix type usage bug
Browse files Browse the repository at this point in the history
This is effectively a no-op, but does not look good. It runs the risk of
a type divergence when a major ABI update comes. So lets just use the
right type in the right place.
  • Loading branch information
cujomalainey authored and lgirdwood committed Jul 9, 2024
1 parent d3ae43c commit 9ce6b74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ipc/ipc3/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ static int comp_specific_builder(struct sof_ipc_comp *comp,
config->tone.sample_rate = tone->sample_rate;
break;
case SOF_COMP_ASRC:
config->asrc.source_rate = src->source_rate;
config->asrc.sink_rate = src->sink_rate;
config->asrc.source_rate = asrc->source_rate;
config->asrc.sink_rate = asrc->sink_rate;
config->asrc.asynchronous_mode = asrc->asynchronous_mode;
config->asrc.operation_mode = asrc->operation_mode;
break;
Expand Down

0 comments on commit 9ce6b74

Please sign in to comment.