forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ASoC: SOF: core: Support for ipc type fallback if files are missing
In case the firmware file or the topology file is missing from the filesystem provide a way to test other supported IPC types to see if both firmware and topology file can be found and use that instead of the requested, default IPC type. If a user requested a specific firmware file (overriding path and/or name) then read the file and use the IPC type of the selected firmware to look for the topology file and firmware libraries (IPC4 only). This feature will help with migrating platforms to a new IPC type in phases, providing increasing number of topology files in sof-bin. If the topology file is present, the IPC type can be used, if it is not then we fall back to older IPC type and use it without breaking the audio for the user. Signed-off-by: Peter Ujfalusi <[email protected]>
- Loading branch information
Showing
2 changed files
with
224 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters