diff mbox series

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

Message ID 20250206094723.18013-1-peter.ujfalusi@linux.intel.com (mailing list archive)
State Accepted
Commit 33b7dc7843dbdc9b90c91d11ba30b107f9138ffd
Headers show
Series ASoC: SOF: Intel: hda: add softdep pre to snd-hda-codec-hdmi module | expand

Commit Message

Peter Ujfalusi Feb. 6, 2025, 9:47 a.m. UTC
From: Terry Cheong <htcheong@chromium.org>

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>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Johny Lin <lpg76627@gmail.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
---
 sound/soc/sof/intel/hda-codec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Mark Brown Feb. 6, 2025, 2:51 p.m. UTC | #1
On Thu, 06 Feb 2025 11:47:23 +0200, Peter Ujfalusi wrote:
> 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
diff mbox series

Patch

diff --git a/sound/soc/sof/intel/hda-codec.c b/sound/soc/sof/intel/hda-codec.c
index 568f3dfe822f..2f9925830d1d 100644
--- a/sound/soc/sof/intel/hda-codec.c
+++ b/sound/soc/sof/intel/hda-codec.c
@@ -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");