diff options
author | Peter Ujfalusi <[email protected]> | 2024-10-08 14:09:34 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-10-08 13:28:40 +0100 |
commit | fdaf2291524c6a220bb051ad1a8d3c99b177b6f1 (patch) | |
tree | 71ebff85259d748380c170eedcef4e7606aa8705 /tools/perf/scripts/python/compaction-times.py | |
parent | 7a4c41e4778342b0ceda2e16127fefa808de3c57 (diff) |
ASoC: SOF: ipc4-topology: Simplify code to deal with process modules without output
Process modules are allowed to have zero outputs, thus zero output formats.
In this case there is no need for complicated if expressions to handle such
cases, we can just use a single if for the number of output formats and
the rest can be simplified.
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions