From 5e37ea2c32c5fa1d4aa9f9e91935ddabbc748dfc Mon Sep 17 00:00:00 2001 From: padmashree mandri Date: Wed, 24 Jul 2024 09:24:34 +0000 Subject: [PATCH] Load audio modules for BM case This patch adds changes to load audio modules by default. Test Done: Verified HDMI Audio Tracked-On: OAM-122657 Signed-off-by: padmashree mandri --- groups/audio/project-celadon/init.rc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/groups/audio/project-celadon/init.rc b/groups/audio/project-celadon/init.rc index 173c57ef8..677385bea 100644 --- a/groups/audio/project-celadon/init.rc +++ b/groups/audio/project-celadon/init.rc @@ -54,6 +54,20 @@ on boot insmod /vendor/lib/modules/snd-timer.ko insmod /vendor/lib/modules/snd-pcm.ko insmod /vendor/lib/modules/snd-dummy.ko + insmod /vendor/lib/modules/snd-compress.ko + insmod /vendor/lib/modules/snd-ctl-led.ko + insmod /vendor/lib/modules/snd-hda-core.ko + insmod /vendor/lib/modules/snd-hda-codec.ko + insmod /vendor/lib/modules/snd-hda-codec-generic.ko + insmod /vendor/lib/modules/snd-intel-dspcfg.ko dsp_driver=1 + insmod /vendor/lib/modules/snd-hda-intel.ko + insmod /vendor/lib/modules/snd-hda-codec-realtek.ko + insmod /vendor/lib/modules/snd-hda-codec-hdmi.ko + insmod /vendor/lib/modules/snd-intel-sdw-acpi.ko + insmod /vendor/lib/modules/snd-soc-acpi.ko + insmod /vendor/lib/modules/snd-soc-acpi-intel-match.ko + insmod /vendor/lib/modules/snd-soc-core.ko + on property:sys.boot_completed=1 && property:ro.vendor.hdmi.audio=tgl stop audioserver