[alsa-devel] [PATCH 4/8] ASoC: Intel: move all ACPI match tables to common module

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Fri Oct 13 19:21:40 CEST 2017


On 10/13/17 11:38 AM, Andy Shevchenko wrote:
> On Thu, 2017-10-12 at 18:49 -0500, Pierre-Louis Bossart wrote:
>> First step of cleaning, move all tables to soc-acpi-intel-match
>> module.
>> The tables remain in separate files per platform to keep them
>> manageable. Skylake+ platforms are still handled elsewhere since
>> there is no conflict with SOF for now, but this will have to be
>> handled at a later point.
>   
>> +static int is_byt(void)
>> +{
>> +	bool status = false;
>> +	static const struct x86_cpu_id cpu_ids[] = {
>> +		{ X86_VENDOR_INTEL, 6, 55 }, /* Valleyview, Bay Trail
>> */
>> +		{}
>> +	};
>> +	if (x86_match_cpu(cpu_ids))
>> +		status = true;
>> +	return status;
>> +}
> 
> I wish it would be cleaned up at some point...
> 
> P.S. Yes, I have commented on this earlier.

yes, but as agreed I'll fix it later. Just like the clock framework 
support it might take a while to get the changes applied in multiple 
trees...



More information about the Alsa-devel mailing list