Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
ucm2: Qualcomm: sc8280xp: fix device numbers
Due to a bug in the Qualcomm ASoC drivers, we ended up with card device
numbers starting at some number that is not dai-link id. This bug is now
fixed, so update the ucm files inline with this.

Fixes: #331
Fixes: #284
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
  • Loading branch information
Srinivas-Kandagatla authored and perexg committed Jun 28, 2023
1 parent 40d9c6c commit 9bda3d1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ucm2/Qualcomm/sc8280xp/HiFi.conf
Expand Up @@ -27,7 +27,7 @@ SectionDevice."Speaker" {

Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId},5"
PlaybackPCM "hw:${CardId},1"
PlaybackMixer "default:${CardId}"
}
}
Expand All @@ -42,7 +42,7 @@ SectionDevice."Headphones" {

Value {
PlaybackPriority 200
PlaybackPCM "hw:${CardId},4"
PlaybackPCM "hw:${CardId},0"
PlaybackMixer "default:${CardId}"
PlaybackMixerElem "HP Digital"
JackControl "Headphone Jack"
Expand All @@ -60,7 +60,7 @@ SectionDevice."Mic" {

Value {
CapturePriority 100
CapturePCM "hw:${CardId},6"
CapturePCM "hw:${CardId},2"
CaptureMixerElem "ADC2"
JackControl "Mic Jack"
JackHWMute "DMic01"
Expand All @@ -78,6 +78,6 @@ SectionDevice."DMic01" {

Value {
CapturePriority 100
CapturePCM "hw:${CardId},7"
CapturePCM "hw:${CardId},3"
}
}

0 comments on commit 9bda3d1

Please sign in to comment.