ASoC: SOF: Intel: hda-dsp: Set streaming flag for d0i3
authorRander Wang <rander.wang@intel.com>
Tue, 14 Feb 2023 10:33:45 +0000 (12:33 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 14 Feb 2023 13:25:15 +0000 (13:25 +0000)
commit6611b975eb87d7793e4632575649308762e7d01e
tree675b38353b086af6de4cf9e26bd3f5dedffd5257
parent3e6b6ed34bda047a818003a8c06d368eb3596bba
ASoC: SOF: Intel: hda-dsp: Set streaming flag for d0i3

Enable d0i3 streaming if all the active streams can
work in d0i3 state and playback is enabled.

Signed-off-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230214103345.30669-6-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dsp.c