ASoC: SOF: Intel: simplify logic for DMI_L1 handling
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 12 Aug 2021 23:19:39 +0000 (18:19 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 13 Aug 2021 12:16:16 +0000 (13:16 +0100)
commit5503e938fef3f66240670d28f7d5db7f2dc8f35a
treee8585f8b220ea18da7bb560bf0700f548bc2b8c1
parentd2556edadbf2929dd7b04de59daeb0a571dc0349
ASoC: SOF: Intel: simplify logic for DMI_L1 handling

We don't need to test in multiple places if the kconfig
SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1 is enabled or not, we might as
well set the existing DMI_L1_COMPATIBLE flag.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210812231940.172547-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-pcm.c
sound/soc/sof/intel/hda-stream.c