diff options
author | Chunxu Li <chunxu.li@mediatek.com> | 2022-09-03 11:21:51 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-09-05 13:09:40 +0100 |
commit | 354f6008b730a217a3e6ad982eda42e90e6f7473 (patch) | |
tree | e2a5b05477debf86e06aca5713e5d70a69d4f6f4 /scripts/gdb/linux/utils.py | |
parent | 35c8ae25c4fdeabf490e005692795a3be17ca5f6 (diff) |
ASoC: SOF: Introduce function sof_of_machine_select
From current design in sof_machine_check the SOF can only support
ACPI type machine.
In sof_machine_check if there is no ACPI machine exist, the function
will return -ENODEV directly, that's we don't expected if we do not
base on ACPI machine.
So we add a new function named sof_of_machine_select that we can pass
sof_machine_check and obtain info required by snd_sof_new_platform_drv.
Signed-off-by: Chunxu Li <chunxu.li@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220903032151.13664-1-chunxu.li@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions