diff options
author | 2020-11-12 16:38:17 -0600 | |
---|---|---|
committer | 2020-11-19 18:24:38 +0000 | |
commit | 05ff312badb6079f18c0b05d89e21733a9dafe32 (patch) | |
tree | 96f346f85c2a19fe7f5e2024e797d5eb75c97094 /sound/soc/intel/atom/sst | |
parent | ASoC: Intel: boards: byt/cht: set card and driver name at run time (diff) | |
download | linux-dev-05ff312badb6079f18c0b05d89e21733a9dafe32.tar.xz linux-dev-05ff312badb6079f18c0b05d89e21733a9dafe32.zip |
ASoC: Intel: byt/cht: set pm ops dynamically
The Atom/SST driver does not rely on ASoC power management, but the
SOF driver does. Rather than using a hard-coded build-time assignment,
we can set this pm_ops dynamically depending on what the parent
is. That will remove the last build-time dependency and allow for
coexistence of both SST and SOF drivers for Baytrail/Cherrytrail.
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-7-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/atom/sst')
0 files changed, 0 insertions, 0 deletions