Skip to content

Commit a174e72

Browse files
kv2019ibroonie
authored andcommitted
ASoC: SOF: Intel: enable DMI L1 for playback streams
Add back logic to mark all playback streams as L1 compatible. Fixes: 246dd42 ("ASoC: SOF: Intel: make DMI L1 selection more robust") Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220310171651.249385-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6b6bb5e commit a174e72

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sof/intel/hda-pcm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
315315
runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE;
316316

317317
if (hda_always_enable_dmi_l1 ||
318+
direction == SNDRV_PCM_STREAM_PLAYBACK ||
318319
spcm->stream[substream->stream].d0i3_compatible)
319320
flags |= SOF_HDA_STREAM_DMI_L1_COMPATIBLE;
320321

0 commit comments

Comments
 (0)