Skip to content

Commit 880e528

Browse files
author
Jyri Sarha
committed
DEBUG: pcm: print d0i3 suspend decision values on TRIGGER_SUSPEND
1 parent 071a574 commit 880e528

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sound/soc/sof/pcm.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,12 @@ static int sof_pcm_trigger(struct snd_soc_component *component,
433433
* If DSP D0I3 is allowed during S0iX, set the suspend_ignored flag for
434434
* D0I3-compatible streams to keep the firmware pipeline running
435435
*/
436+
dev_dbg(sdev->dev,
437+
"PCM '%s' dir %d: d0i3_supported_in_s0ix %d, suspend_target %d, d0i3_compatible %d\n",
438+
spcm->pcm.pcm_name, substream->stream,
439+
pcm_ops ? pcm_ops->d0i3_supported_in_s0ix : -1,
440+
sdev->system_suspend_target,
441+
spcm->stream[substream->stream].d0i3_compatible);
436442
if (pcm_ops && pcm_ops->d0i3_supported_in_s0ix &&
437443
sdev->system_suspend_target == SOF_SUSPEND_S0IX &&
438444
spcm->stream[substream->stream].d0i3_compatible) {

0 commit comments

Comments
 (0)