ASoC: Intel: fix interface for Chromebook machine drivers

The changes for HDaudio overlooked the fact that the machine drivers
used for Chromebooks rely on the dmic number information passed as
pdata.

Add dmic_num field to standard interface and use standard interface
instead of SKL-specific one.

Also clean-up pdata definition to remove fields that are no longer
used.

Fixes: 842bb5135f ('ASoC: Intel: use standard interface for Hdaudio machine driver')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Šī revīzija ir iekļauta:
Pierre-Louis Bossart
2018-11-16 18:47:05 -06:00
revīziju iesūtīja Mark Brown
vecāks 4647598cde
revīzija b92826fa8c
7 mainīti faili ar 22 papildinājumiem un 24 dzēšanām

Parādīt failu

@@ -48,6 +48,7 @@ struct snd_soc_acpi_mach_params {
u32 acpi_ipc_irq_index;
const char *platform;
u32 codec_mask;
u32 dmic_num;
};
/**