Skip to content
Snippets Groups Projects
Commit aa40a018 authored by Ranjani Sridharan's avatar Ranjani Sridharan Committed by Madhulika Dolke
Browse files

UPSTREAM: ASoC: SOF: handle paused streams during system suspend


During system suspend, paused streams do not get suspended.
Therefore, we need to explicitly free these PCMs in the DSP
and free the associated DAPM widgets so that they can be set
up again during resume.

Fixes: 5fcdbb2d ("ASoC: SOF: Add support for dynamic pipelines")
Signed-off-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarPaul Olaru <paul.olaru@oss.nxp.com>
Reviewed-by: default avatarBard Liao <bard.liao@intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20211123171606.129350-3-kai.vehmanen@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
(cherry picked from commit 96da1740)

BUG=b:218766331
TEST=Test sound cards are listed and audio playback works.

Signed-off-by: default avatarTerry Cheong <htcheong@chromium.org>
Signed-off-by: default avatarMadhulika Dolke <madhulika.dolke@intel.com>
(cherry picked from commit 96da1740)
Change-Id: I1dc46f807d0a19ddbb11c529f4ee03613f201ace
parent 0a892def
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment