summaryrefslogtreecommitdiff
path: root/include/sound/soc-acpi.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2018-11-17 03:47:05 +0300
committerMark Brown <broonie@kernel.org>2018-11-20 19:56:25 +0300
commitb92826fa8c5a423edf6c9e385b5d433c61375cc8 (patch)
tree6cd079372bee83edc7c34d7536bad5ebaf4448c2 /include/sound/soc-acpi.h
parent4647598cde0e55d5c6d6a3c4223953611a472289 (diff)
downloadlinux-b92826fa8c5a423edf6c9e385b5d433c61375cc8.tar.xz
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: 842bb5135f10 ('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>
Diffstat (limited to 'include/sound/soc-acpi.h')
-rw-r--r--include/sound/soc-acpi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-acpi.h b/include/sound/soc-acpi.h
index 5154c6359609..266e64e3c24c 100644
--- a/include/sound/soc-acpi.h
+++ b/include/sound/soc-acpi.h
@@ -48,6 +48,7 @@ struct snd_soc_acpi_mach_params {
u32 acpi_ipc_irq_index;
const char *platform;
u32 codec_mask;
+ u32 dmic_num;
};
/**