Peter Ujfalusi fdaf229152
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 <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20241008110936.22534-7-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-10-08 13:28:40 +01:00
..
2024-10-01 14:51:18 +01:00
2024-09-26 12:00:25 -07:00
2024-10-07 14:54:21 +01:00
2024-09-14 09:09:59 +02:00
2024-09-14 09:09:59 +02:00
2024-09-14 09:09:59 +02:00
2024-08-01 12:51:45 +01:00
2024-09-14 09:09:59 +02:00
2024-07-08 12:50:02 +01:00