Skip to content

Commit

Permalink
sof-soundwire: cs42l43-spk: Correct PlaybackPCM and routing
Browse files Browse the repository at this point in the history
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: #465
Signed-off-by: Peter Ujfalusi <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
ujfalusi authored and perexg committed Nov 19, 2024
1 parent 6397c66 commit 70f5bff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ucm2/sof-soundwire/cs42l43-spk.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -19,7 +19,7 @@ SectionDevice."Speaker" {

Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},0"
PlaybackPCM "hw:${CardId},2"
PlaybackMixerElem "cs42l43 Speaker Digital"
}
}

0 comments on commit 70f5bff

Please sign in to comment.