From: Mark Brown Date: Mon, 15 May 2023 15:30:14 +0000 (+0900) Subject: ASoC: SOF: ipc4-topology: Improve the audio format X-Git-Tag: v6.6.7~1940^2~32^2~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc1d62b3588b74153c0823f7ad59925e586732de;p=platform%2Fkernel%2Flinux-starfive.git ASoC: SOF: ipc4-topology: Improve the audio format Merge series from Peter Ujfalusi : Improve the logic to account for the current restrictions in topology while making it extensible for future topology modifications. The current topology definitions assume that input/output formats come in pairs. For example even if there's only 1 output format for a module, we add 3 output formats to match that of the input format count with the same parameters. This is unnecessary but we have to deal with it until the topologies are modified. Additionally, choosing the input/output audio format should depend only on the pipeline params or the runtime FE hw_params depending on where the module is in the pipeline. This series modifies the logic for selection based on this and removes unnecessary dependencies between the input and output formats. --- fc1d62b3588b74153c0823f7ad59925e586732de