diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2021-11-19 22:26:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-11-22 18:40:21 +0300 |
commit | b2ebcf42a48f4560862bb811f3268767d17ebdcd (patch) | |
tree | ac10ad70a8f87d942ca230cc696261ff920370aa /sound/soc/sof/intel/tgl.c | |
parent | 7cc7b9ba21d4978d19f0e3edc2b00d44c9d66ff6 (diff) | |
download | linux-b2ebcf42a48f4560862bb811f3268767d17ebdcd.tar.xz |
ASoC: SOF: free widgets in sof_tear_down_pipelines() for static pipelines
Free widgets for static pipelines in sof_tear_down_pipelines().
But this feature is unavailable in older firmware with ABI < 3.19.
Just reset widget use_count's for this case. This would ensure that
the secondary cores enabled required for topology setup are powered
down properly before the primary core is powered off during
system suspend.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20211119192621.4096077-8-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/tgl.c')
0 files changed, 0 insertions, 0 deletions