5 Sep
2022
5 Sep
'22
9:48 a.m.
Il 03/09/22 05:21, Chunxu Li ha scritto:
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