Skip to contentSkip to conversation

ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module

PATCH In review Peter Ujfalusi 2 participants 2 messages Feb 6, 2025

Subsystems (3)
lore
Share & tools
lore

Peter Ujfalusi

author maintainer
#0 lore raw

PATCH 1/1 ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module

From: Terry Cheong <[email protected]>

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.

---
 sound/soc/sof/intel/hda-codec.c | 1 +
 1 file changed, 1 insertion(+)
sound/soc/sof/intel/hda-codec.c +1 -0
index 568f3dfe822f..2f9925830d1d 100644
@@ -454,6 +454,7 @@ int hda_codec_i915_exit(struct snd_sof_dev *sdev)
 }
 EXPORT_SYMBOL_NS_GPL(hda_codec_i915_exit, "SND_SOC_SOF_HDA_AUDIO_CODEC_I915");
 
+MODULE_SOFTDEP("pre: snd-hda-codec-hdmi");
 #endif
 
 MODULE_LICENSE("Dual BSD/GPL");
Signature · 1 line
2.48.1
maintainer
#1 lore raw
Quoted 6 lines · Peter Ujfalusi

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.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module

      commit: 33b7dc7843dbdc9b90c91d11ba30b107f9138ffd

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark