Skip to content

Commit 2b2e34e

Browse files
committed
module_adapter: Don't propagate ENOSPC and ENODATA error codes
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 1e7f6d3 commit 2b2e34e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/audio/module_adapter/module_adapter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,8 @@ static int module_adapter_sink_source_copy(struct comp_dev *dev)
993993
if (ret != -ENOSPC && ret != -ENODATA && ret) {
994994
comp_err(dev, "module_adapter_sink_source_copy() process failed with error: %x",
995995
ret);
996-
}
996+
} else
997+
ret = 0;
997998

998999
/* count number of processed data. To be removed in pipeline 2.0 */
9991000
for (i = 0; i < mod->num_of_sources; i++)

0 commit comments

Comments
 (0)