Peter Ujfalusi d8a2c98793
ASoC: SOF: ipc4-loader/topology: Query the CPC value from manifest
The manifest's firmware module configuration section contains the measured
CPC values along with a matching IBS/OBS values.

The CPC can be looked up by looking for a matching IBS/OBS entry.
In case of multiple matches we will use the highest CPC value.

If there is no mod_cfg or no CPC value (all 0) or no match was found then
print warning message and use 0 as CPC value.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20230522101313.12519-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-05-22 11:18:38 +01:00
..
2023-05-15 19:55:52 +09:00
2023-05-08 08:47:10 +09:00
2023-04-12 12:54:23 +01:00
2023-05-15 19:55:52 +09:00
2023-05-15 19:55:52 +09:00
2023-05-15 19:55:52 +09:00
2023-05-08 08:47:11 +09:00
2023-01-31 11:04:59 +00:00
2023-05-08 08:47:06 +09:00
2022-02-01 08:08:08 +01:00