Skip to content

Commit

Permalink
dp: do not block ppl because of sink/source limits
Browse files Browse the repository at this point in the history
Module adapter DP copy checks shouldnt block pipeline,
similarly to  LL-only scenario

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@intel.com>
  • Loading branch information
abonislawski committed Mar 18, 2024
1 parent dff7332 commit 66f02ed
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/audio/module_adapter/module_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1046,10 +1046,8 @@ static int module_adapter_copy_dp_queues(struct comp_dev *dev)
source_get_data_available(data_src));

err = source_to_sink_copy(data_src, data_sink, true, to_copy);
if (err) {
comp_err(dev, "LL to DP copy error status: %d", err);
return err;
}
if (err)
comp_dbg(dev, "LL to DP copy error status: %d", err);

dp_queue = dp_queue_get_next_item(dp_queue);
}
Expand Down Expand Up @@ -1082,10 +1080,8 @@ static int module_adapter_copy_dp_queues(struct comp_dev *dev)
source_get_data_available(data_src));

err = source_to_sink_copy(data_src, data_sink, true, to_copy);
if (err) {
comp_err(dev, "DP to LL copy error status: %d", err);
return err;
}
if (err)
comp_dbg(dev, "DP to LL copy error status: %d", err);

dp_queue = dp_queue_get_next_item(dp_queue);
}
Expand Down

0 comments on commit 66f02ed

Please sign in to comment.