Skip to content

Commit 6b0fd39

Browse files
committed
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 <htcheong@chromium.org>
1 parent dc91bdf commit 6b0fd39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ int hda_codec_i915_exit(struct snd_sof_dev *sdev)
263263
}
264264
EXPORT_SYMBOL_NS(hda_codec_i915_exit, SND_SOC_SOF_HDA_AUDIO_CODEC_I915);
265265

266+
MODULE_SOFTDEP("pre: snd-hda-codec-hdmi");
266267
#endif
267268

268269
MODULE_LICENSE("Dual BSD/GPL");

0 commit comments

Comments
 (0)