ASoC: Intel: fix interface for Chromebook machine drivers
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Sat, 17 Nov 2018 00:47:05 +0000 (18:47 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 20 Nov 2018 16:56:25 +0000 (16:56 +0000)
commitb92826fa8c5a423edf6c9e385b5d433c61375cc8
tree6cd079372bee83edc7c34d7536bad5ebaf4448c2
parent4647598cde0e55d5c6d6a3c4223953611a472289
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>
include/sound/soc-acpi.h
sound/soc/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
sound/soc/intel/boards/skl_nau88l25_max98357a.c
sound/soc/intel/boards/skl_nau88l25_ssm4567.c
sound/soc/intel/skylake/skl.c
sound/soc/intel/skylake/skl.h