From: Charles Keepax Date: Wed, 20 Nov 2024 10:06:06 +0000 (+0000) Subject: sof-soundwire: cs42l43: Correct CapturePCM and routing X-Git-Tag: v1.2.14~81 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=30989bd0c2aa3f9f4b6f5e393397b39678717f45;p=alsa-ucm-conf.git sof-soundwire: cs42l43: Correct CapturePCM and routing For headset microphone capture the correct PCM device to use is "hw:${CardId},1", "hw:${CardId},4" is for built in microphone capture. Adjust the routing as well since :0,1 is connected to data port 2 on the codec. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/466 Signed-off-by: Charles Keepax Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/sof-soundwire/cs42l43.conf b/ucm2/sof-soundwire/cs42l43.conf index dc11840..4b4e118 100644 --- a/ucm2/sof-soundwire/cs42l43.conf +++ b/ucm2/sof-soundwire/cs42l43.conf @@ -28,19 +28,19 @@ SectionDevice."Headset" { cset "name='cs42l43 ADC1 Input' 'IN1'" cset "name='cs42l43 Decimator 1 Mode' 'ADC'" - cset "name='cs42l43 DP1TX1 Input' 'Decimator 1'" - cset "name='cs42l43 DP1TX2 Input' 'Decimator 1'" + cset "name='cs42l43 DP2TX1 Input' 'Decimator 1'" + cset "name='cs42l43 DP2TX2 Input' 'Decimator 1'" ] DisableSequence [ cset "name='cs42l43 Decimator 1 Switch' 0" - cset "name='cs42l43 DP1TX1 Input' 'None'" - cset "name='cs42l43 DP1TX2 Input' 'None'" + cset "name='cs42l43 DP2TX1 Input' 'None'" + cset "name='cs42l43 DP2TX2 Input' 'None'" ] Value { CapturePriority 200 - CapturePCM "hw:${CardId},4" + CapturePCM "hw:${CardId},1" CaptureMixer "default:${CardId}" CaptureMixerElem "cs42l43 Headset Microphone" JackControl "Headset Mic Jack"