diff options
author | Ranjani Sridharan <[email protected]> | 2024-11-07 15:49:57 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-11-07 15:23:28 +0000 |
commit | 7a117225b15b2d1dc021ab9fc36687c1e61ad2b1 (patch) | |
tree | 361622eeec00608290241cbad3c749c550ca4b7a /lib/crypto/mpi/mpiutil.c | |
parent | 1862e847bf115a3ccbf38dd035ea0118be57f2e2 (diff) |
ASoC: SOF: Intel: hda: handle only paused streams in hda_dai_suspend()
hda_dai_suspend() was added to handle paused stream during system
suspend. But as a side effect, it also ends up cleaning up the DMA
data for those streams that were prepared but not triggered before a
system suspend. Since these streams will not receive the prepare
callback after resuming, we need to preserve the DMA data during suspend.
So, add the check to handle only those streams that are in the paused
state to avoid losing the DMA data for all other streams.
Link: https://github.com/thesofproject/linux/issues/5080
Signed-off-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Fred Oh <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Peter Ujfalusi <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions