Searched hist:"644 eebdbbf1154c995d6319c133d7d5b898c5ed2" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/sound/ |
H A D | soc-acpi.h | diff 644eebdbbf1154c995d6319c133d7d5b898c5ed2 Thu Nov 12 16:38:15 CST 2020 Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> ASoC: soc-acpi: add helper to identify parent driver.
Intel machine drivers are used by parent platform drivers based on closed-source firmware (Atom/SST and catpt) and SOF-based ones.
In some cases for ACPI-based platforms, the behavior of machine drivers needs to be modified depending on the parent type, typically for card names and power management.
An initial solution based on passing a boolean flag as a platform device parameter was tested earlier. Since it looked overkill, this patch suggests instead a simple string comparison to identify an SOF parent device/driver.
Suggested-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20201112223825.39765-5-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
|