[PATCH alsa-ucm-conf v2 1/2] sof-soundwire: cs42l43: Drop headset mic from mic mute LED

As per conversation in [1], let headsets be dropped from LED bindings.
[1]: https://github.com/alsa-project/alsa-ucm-conf/pull/512
Signed-off-by: Maciej Strozek mstrozek@opensource.cirrus.com --- v2: Added DisableSequences back --- ucm2/codecs/cs42l43/init.conf | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/ucm2/codecs/cs42l43/init.conf b/ucm2/codecs/cs42l43/init.conf index 0e987c21..c0fa863c 100644 --- a/ucm2/codecs/cs42l43/init.conf +++ b/ucm2/codecs/cs42l43/init.conf @@ -10,9 +10,3 @@ LibraryConfig.remap.Config { } } } - -BootSequence [ - cset "name='cs42l43 Decimator 1 Switch' 0" -] - -Macro [{ SetLED { LED="mic" Action="attach" CtlId="cs42l43 Decimator 1 Switch" } }] -- 2.39.5

Hardware volume control in cs42l43 can go up to +31.5dB which can cause audio degradation. For best results, keep the hardware volume set to 0dB and let software volume control the output.
Signed-off-by: Maciej Strozek mstrozek@opensource.cirrus.com --- v2: No changes --- ucm2/sof-soundwire/cs42l43-spk.conf | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/ucm2/sof-soundwire/cs42l43-spk.conf b/ucm2/sof-soundwire/cs42l43-spk.conf index 693c450b..b2b32e57 100644 --- a/ucm2/sof-soundwire/cs42l43-spk.conf +++ b/ucm2/sof-soundwire/cs42l43-spk.conf @@ -1,5 +1,14 @@ # Use case Configuration for sof-soundwire card
+LibraryConfig.remap.Config { + ctl.default.map { + "name='cs42l43 Speaker Playback Switch'" { + "name='cs42l43 Speaker Digital Switch'".vindex.0 0 + "name='cs42l43 Speaker Digital Switch'".vindex.1 1 + } + } +} + SectionDevice."Speaker" { Comment "Speaker"
@@ -8,6 +17,7 @@ SectionDevice."Speaker" { ]
EnableSequence [ + cset "name='cs42l43 Speaker Digital Volume' 128" cset "name='cs42l43 Speaker L Input 1' 'DP6RX1'" cset "name='cs42l43 Speaker R Input 1' 'DP6RX2'" ] @@ -20,6 +30,7 @@ SectionDevice."Speaker" { Value { PlaybackPriority 100 PlaybackPCM "hw:${CardId},2" - PlaybackMixerElem "cs42l43 Speaker Digital" + PlaybackMixer "default:${CardId}" + PlaybackMixerElem "cs42l43 Speaker" } } -- 2.39.5
participants (1)
-
Maciej Strozek