From 8e6acab2e5426023c9361c55bf115d80cb940ca5 Mon Sep 17 00:00:00 2001 From: Val Packett Date: Fri, 2 Jan 2026 03:03:24 -0300 Subject: [PATCH] ucm2: codecs: lpass-rx-macro: disable RX_COMP The compander does not seem to work correctly on many of the platforms currently in use with upstream software. Strange effects such as quiet sounds being panned to the left channel and some "boominess on attacks" can be heard when it's on. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/670 Signed-off-by: Val Packett Signed-off-by: Jaroslav Kysela --- ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf | 2 -- ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf | 1 - ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf | 1 - ucm2/codecs/qcom-lpass/rx-macro/init.conf | 2 ++ 5 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf index 88803d1..4f458d5 100644 --- a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf @@ -5,6 +5,4 @@ DisableSequence [ cset "name='RX INT1_1 MIX1 INP0' ZERO" cset "name='RX INT0 DEM MUX' NORMAL_DSM_OUT" cset "name='RX INT1 DEM MUX' NORMAL_DSM_OUT" - cset "name='RX_COMP1 Switch' 0" - cset "name='RX_COMP2 Switch' 0" ] diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf index 79a7450..6065f05 100644 --- a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf @@ -6,6 +6,4 @@ EnableSequence [ cset "name='RX INT1_1 MIX1 INP0' RX1" cset "name='RX INT0 DEM MUX' CLSH_DSM_OUT" cset "name='RX INT1 DEM MUX' CLSH_DSM_OUT" - cset "name='RX_COMP1 Switch' 1" - cset "name='RX_COMP2 Switch' 1" ] diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf index 37deee8..5394d04 100644 --- a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLDisableSeq.conf @@ -2,5 +2,4 @@ DisableSequence [ cset "name='RX_MACRO RX0 MUX' ZERO" cset "name='RX INT0_1 MIX1 INP0' ZERO" cset "name='RX INT0 DEM MUX' NORMAL_DSM_OUT" - cset "name='RX_COMP1 Switch' 0" ] diff --git a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf index 558c4cd..e3a75e7 100644 --- a/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf +++ b/ucm2/codecs/qcom-lpass/rx-macro/HeadphoneLEnableSeq.conf @@ -3,5 +3,4 @@ EnableSequence [ cset "name='RX_MACRO RX0 MUX' AIF1_PB" cset "name='RX INT0_1 MIX1 INP0' RX0" cset "name='RX INT0 DEM MUX' CLSH_DSM_OUT" - cset "name='RX_COMP1 Switch' 1" ] diff --git a/ucm2/codecs/qcom-lpass/rx-macro/init.conf b/ucm2/codecs/qcom-lpass/rx-macro/init.conf index 55b6927..1954040 100644 --- a/ucm2/codecs/qcom-lpass/rx-macro/init.conf +++ b/ucm2/codecs/qcom-lpass/rx-macro/init.conf @@ -3,4 +3,6 @@ BootSequence [ cset "name='RX_RX0 Digital Volume' 84" cset "name='RX_RX1 Digital Volume' 84" + cset "name='RX_COMP1 Switch' 0" + cset "name='RX_COMP2 Switch' 0" ] -- 2.52.0