• Ranjani Sridharan's avatar
    ASoC: SOF: ipc4-topology: Handle output format special case · f1ceebdb
    Ranjani Sridharan authored
    The current topologies have input/output formats in pairs and even
    though there are multiple output formats, they are all the same. Handle
    this case as if there were only one format in topology. Also, add a check
    for the number of output formats and reports errors where applicable.
    
    Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
    Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
    Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
    Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
    Link: https://lore.kernel.org/r/20230515103336.16132-6-peter.ujfalusi@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org
    f1ceebdb
ipc4-topology.c 88.4 KB