We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9262878 commit 0236859Copy full SHA for 0236859
sound/soc/sof/intel/hda.c
@@ -613,6 +613,11 @@ static int hda_init_caps(struct snd_sof_dev *sdev)
613
if (!(interface_mask & BIT(SOF_DAI_INTEL_ALH)))
614
goto skip_soundwire;
615
616
+ /* Skip SoundWire in nocodec mode */
617
+ if (IS_ENABLED(CONFIG_SND_SOC_SOF_NOCODEC_DEBUG_SUPPORT) &&
618
+ sof_debug_check_flag(SOF_DBG_FORCE_NOCODEC))
619
+ goto skip_soundwire;
620
+
621
/* scan SoundWire capabilities exposed by DSDT */
622
ret = hda_sdw_acpi_scan(sdev);
623
if (ret < 0) {
0 commit comments