]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
sof-soundwire: cs42l43-spk: Correct PlaybackPCM and routing
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Tue, 19 Nov 2024 09:51:15 +0000 (11:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 19 Nov 2024 09:56:57 +0000 (10:56 +0100)
For speaker the correct PCM device to use is "hw:${CardId},2", the
"hw:${CardId},0" is for headset playback.

Adjust the routing as well since with :0,2 the DP6RX1/2 needs to be
selected for the speaker.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/465
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/cs42l43-spk.conf

index 73f12999ffb5bf846a0e29dd3a8e74274417af80..693c450b26e9009117d6633b22abf8db2734181f 100644 (file)
@@ -8,8 +8,8 @@ SectionDevice."Speaker" {
        ]
 
        EnableSequence [
-               cset "name='cs42l43 Speaker L Input 1' 'DP5RX1'"
-               cset "name='cs42l43 Speaker R Input 1' 'DP5RX2'"
+               cset "name='cs42l43 Speaker L Input 1' 'DP6RX1'"
+               cset "name='cs42l43 Speaker R Input 1' 'DP6RX2'"
        ]
 
        DisableSequence [
@@ -19,7 +19,7 @@ SectionDevice."Speaker" {
 
        Value {
                PlaybackPriority 100
-               PlaybackPCM "hw:${CardId},0"
+               PlaybackPCM "hw:${CardId},2"
                PlaybackMixerElem "cs42l43 Speaker Digital"
        }
 }