From ddf329098b4427851465709d091f8d8770c7c130 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Tue, 18 Jul 2023 12:52:46 +0100 Subject: [PATCH] ucm2: Qualcomm: sc8280xp: use Speakers volume control Make use of Speakers volume control to control analog gain on WSA Speakers. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/335 Signed-off-by: Srinivas Kandagatla Reviewed-by: Johan Hovold Tested-by: Johan Hovold Signed-off-by: Jaroslav Kysela --- ucm2/Qualcomm/sc8280xp/HiFi.conf | 1 + ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/ucm2/Qualcomm/sc8280xp/HiFi.conf b/ucm2/Qualcomm/sc8280xp/HiFi.conf index 02c65e5..0fb5302 100644 --- a/ucm2/Qualcomm/sc8280xp/HiFi.conf +++ b/ucm2/Qualcomm/sc8280xp/HiFi.conf @@ -29,6 +29,7 @@ SectionDevice."Speaker" { PlaybackPriority 100 PlaybackPCM "hw:${CardId},1" PlaybackMixer "default:${CardId}" + PlaybackMixerElem "Speakers" } } diff --git a/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf b/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf index 6df65f9..fd52729 100644 --- a/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf +++ b/ucm2/Qualcomm/sc8280xp/LENOVO-X13s.conf @@ -8,3 +8,4 @@ SectionUseCase."HiFi" { Include.card-init.File "/lib/card-init.conf" Include.ctl-remap.File "/lib/ctl-remap.conf" Include.codec-init.File "/codecs/wcd938x/init.conf" +Include.codec-init.File "/codecs/wsa883x/init.conf" -- 2.47.1