Unverified Commit ce4b269c authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

ASoC: SOF: Intel: hda: Do not probe Soundwire in nocodec mode

parent f9c7c093
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -629,6 +629,11 @@ static int hda_init_caps(struct snd_sof_dev *sdev)
	if (!(interface_mask & BIT(SOF_DAI_INTEL_ALH)))
		goto skip_soundwire;

	/* Skip SoundWire in nocodec mode */
	if (IS_ENABLED(CONFIG_SND_SOC_SOF_NOCODEC_DEBUG_SUPPORT) &&
	    sof_debug_check_flag(SOF_DBG_FORCE_NOCODEC))
		goto skip_soundwire;

	/* scan SoundWire capabilities exposed by DSDT */
	ret = hda_sdw_acpi_scan(sdev);
	if (ret < 0) {