Skip to content

Commit 33b7dc7

Browse files
terry182broonie
authored andcommitted
ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module
In enviornment without KMOD requesting module may fail to load snd-hda-codec-hdmi, resulting in HDMI audio not usable. Add softdep to loading HDMI codec module first to ensure we can load it correctly. Signed-off-by: Terry Cheong <[email protected]> Reviewed-by: Bard Liao <[email protected]> Reviewed-by: Johny Lin <[email protected]> Reviewed-by: Péter Ujfalusi <[email protected]> Signed-off-by: Peter Ujfalusi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 6fd6013 commit 33b7dc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/sof/intel/hda-codec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ int hda_codec_i915_exit(struct snd_sof_dev *sdev)
454454
}
455455
EXPORT_SYMBOL_NS_GPL(hda_codec_i915_exit, "SND_SOC_SOF_HDA_AUDIO_CODEC_I915");
456456

457+
MODULE_SOFTDEP("pre: snd-hda-codec-hdmi");
457458
#endif
458459

459460
MODULE_LICENSE("Dual BSD/GPL");

0 commit comments

Comments
 (0)