diff options
author | Peter Ujfalusi <[email protected]> | 2023-11-29 14:53:27 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-11-29 13:25:15 +0000 |
commit | 6c393ebbd74ad341bcfb4e2d0091b2655fad45d0 (patch) | |
tree | 28478af791bbf68bd8e1ab836f82dfa2c30ac81e /tools/perf/scripts/python/task-analyzer.py | |
parent | 9b6896538ea71b7c24da1ecb38738a311176f6a8 (diff) |
ASoC: SOF: core: Implement IPC version fallback if firmware files are missing
If a firmware file is missing for the selected IPC type then try to switch
to other supported IPC type and check if that one can be used instead.
If for example a platform is changed to IPC4 as default version but the
given machine does not yet have the needed topology file created then we
will fall back to IPC3 which should have all the needed files.
Relocate the sof_init_environment() to be done at a later phase, in
sof_probe_continue().
This will only have changes in behavior if
CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE is enabled (Intel HDA platforms) by
not failing the module probe, but it is not going to be different case
compared to for example failed firmware booting or topology loading error.
Signed-off-by: Peter Ujfalusi <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions