]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Haswell: Adjust machine device private context
authorCezary Rojewski <cezary.rojewski@intel.com>
Thu, 22 Aug 2019 11:36:13 +0000 (13:36 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 30 Aug 2019 11:26:35 +0000 (12:26 +0100)
commit1bf5d20145e36c3e83b3148b618ce673864c06c1
tree3a6c63e77d67f99a225e7a1fb0967112c78ebaf9
parent435a416817de2b0af75b9d5c840f72927392711f
ASoC: Intel: Haswell: Adjust machine device private context

Apart from Haswell machines, all other devices have their private data
set to snd_soc_acpi_mach instance.

Changes for HSW/ BDW boards introduced with series:
https://patchwork.kernel.org/cover/10782035/

added support for dai_link platform_name adjustments within card probe
routines. These take for granted private_data points to
snd_soc_acpi_mach whereas for Haswell, it's sst_pdata instead. Change
private context of platform_device - representing machine board - to
address this.

Fixes: e736e6d6936d ("ASoC: Intel: haswell: platform name fixup support")
Fixes: f211bee40848 ("ASoC: Intel: bdw-rt5677: platform name fixup support")
Fixes: 958631599dd0 ("ASoC: Intel: broadwell: platform name fixup support")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20190822113616.22702-2-cezary.rojewski@intel.com
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/sst-acpi.c