Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: SOF: Intel: hda-stream: fix the CONFIG_ prefix missing

We are missing the 'CONFIG_' prefix when using the kernel configure item
SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1, here correct them.

Fixes: 43b2ab9009b13b ('ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture')
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191025221538.6668-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Keyon Jie and committed by
Mark Brown
f792bd17 dc39596a

+2 -2
+2 -2
sound/soc/sof/intel/hda-stream.c
··· 190 190 * Workaround to address a known issue with host DMA that results 191 191 * in xruns during pause/release in capture scenarios. 192 192 */ 193 - if (!IS_ENABLED(SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1)) 193 + if (!IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1)) 194 194 if (stream && direction == SNDRV_PCM_STREAM_CAPTURE) 195 195 snd_sof_dsp_update_bits(sdev, HDA_DSP_HDA_BAR, 196 196 HDA_VS_INTEL_EM2, ··· 228 228 spin_unlock_irq(&bus->reg_lock); 229 229 230 230 /* Enable DMI L1 entry if there are no capture streams open */ 231 - if (!IS_ENABLED(SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1)) 231 + if (!IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1)) 232 232 if (!active_capture_stream) 233 233 snd_sof_dsp_update_bits(sdev, HDA_DSP_HDA_BAR, 234 234 HDA_VS_INTEL_EM2,