[PATCH] ASoC: SOF: Introduce function sof_of_machine_select
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Mon Sep 5 09:48:50 CEST 2022
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 at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Alsa-devel
mailing list