[alsa-devel] [PATCH 1/3] ASoC: Intel: Skylake: fix missing machine device creation
Mark Brown
broonie at kernel.org
Sun Nov 1 03:54:38 CET 2015
On Fri, Oct 30, 2015 at 08:34:18PM +0530, Vinod Koul wrote:
> From: Jeeja KP <jeeja.kp at intel.com>
>
> The UEFI BIOS does not create a machine entry for Linux devices
> so add a table style machine registration to fix this missing
> entry
How does this relate to the existing sst_acpi code? This might be
clearer with a user...
> +static struct sst_machines *sst_acpi_find_machine(
> + struct sst_machines *machines)
> +{
> + struct sst_machines *mach;
> + bool found = false;
> +
> + for (mach = machines; mach->codec_id; mach++)
> + if (ACPI_SUCCESS(acpi_get_devices(mach->codec_id,
> + sst_acpi_mach_match,
> + &found, NULL)) && found)
> + return mach;
> +
> + return NULL;
> +}
...but the code looks extremely similar.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20151101/b054ef84/attachment.sig>
More information about the Alsa-devel
mailing list