mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
ASoC: SOF: Intel: enable DMI L1 for playback streams
[ Upstream commita174e72e23
] Add back logic to mark all playback streams as L1 compatible. Fixes:246dd4287d
("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
7417e2e3f9
commit
6cdecf2d97
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
|
|||
runtime->hw.info &= ~SNDRV_PCM_INFO_PAUSE;
|
||||
|
||||
if (hda_always_enable_dmi_l1 ||
|
||||
direction == SNDRV_PCM_STREAM_PLAYBACK ||
|
||||
spcm->stream[substream->stream].d0i3_compatible)
|
||||
flags |= SOF_HDA_STREAM_DMI_L1_COMPATIBLE;
|
||||
|
||||
|
|
Loading…
Reference in a new issue