[alsa-devel] [PATCH] ASoC: Intel: sst-acpi: Add support for multiple machine drivers per platform

Jarkko Nikula jarkko.nikula at linux.intel.com
Thu Feb 20 08:04:48 CET 2014


Hi

On 02/19/2014 06:15 PM, Mark Brown wrote:
> On Wed, Feb 19, 2014 at 04:35:58PM +0200, Jarkko Nikula wrote:
>
>> Matching machine driver is found by looking at ACPI ID which would best
>> match with the driver. Typically this would be the ACPI ID of audio codec
>> but is not tied to it.
> You're going to need DMI matching as well, there's going to be quirks of
> some kind.  Otherwise this looks fine if an ugly way of doing it,
> assuming Liam is happy.
Yes, I believe so too. Although we don't have yet a machine that has 
routed audio differently around the same codec in a same platform but 
I'm sure that will happen. Then I think it's a case by case decision 
will that be better to handle in the same machine driver or here in the 
loader.

Our target is to get as much as possible data from ACPI but meanwhile 
there will be machines where only data is basically just the SST and 
codec ACPI IDs + DMI or some other unique identifier.

-- 
Jarkko


More information about the Alsa-devel mailing list