diff options
| author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2021-11-25 13:15:14 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-11-26 16:24:19 +0300 |
| commit | 0dd71a3340b92b503278af4565156f086ccbca3f (patch) | |
| tree | 59f0fb9fb676e852774811b07953ce4d7f56e7be /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 4794601a52d40a425542be1b88f8f5614fcf45b4 (diff) | |
| download | linux-0dd71a3340b92b503278af4565156f086ccbca3f.tar.xz | |
ASoC: SOF: pcm: invoke platform hw_free for STOP/SUSPEND triggers
snd_sof_pcm_platform_hw_params() will be called when the stream is
restarted with a prepare ioctl. This happens in two cases i.e. when a
suspended stream is resumed or when a stream is restarted without
intermediate call to sof_pcm_hw_free(). Make sure to call
snd_sof_pcm_platform_hw_free() in both these cases to keep it balanced.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@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/20211125101520.291581-5-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
