 
            
            
            
            
                1 Nov
                
                    2015
                
            
            
                1 Nov
                
                '15
                
            
            
            
        
    
                3:54 a.m.
            
        On Fri, Oct 30, 2015 at 08:34:18PM +0530, Vinod Koul wrote:
From: Jeeja KP jeeja.kp@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.