Skip to content

Commit c693d0c

Browse files
committed
ASoC: SOF: Intel: hda: read multi-link capabilities earlier
There's no reason to delay the multi-link parsing, this can be done earlier before checking the SoundWire capabilities. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 1818508 commit c693d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/sof/intel/hda.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,8 @@ static int hda_init_caps(struct snd_sof_dev *sdev)
944944
return ret;
945945
}
946946

947+
hda_bus_ml_get_capabilities(bus);
948+
947949
/* scan SoundWire capabilities exposed by DSDT */
948950
ret = hda_sdw_acpi_scan(sdev);
949951
if (ret < 0) {
@@ -972,8 +974,6 @@ static int hda_init_caps(struct snd_sof_dev *sdev)
972974

973975
skip_soundwire:
974976

975-
hda_bus_ml_get_capabilities(bus);
976-
977977
/* create codec instances */
978978
hda_codec_probe_bus(sdev);
979979

0 commit comments

Comments
 (0)