]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: sc8280xp: fix device numbers
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 28 Jun 2023 09:07:54 +0000 (10:07 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 28 Jun 2023 10:47:58 +0000 (12:47 +0200)
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: https://github.com/alsa-project/alsa-ucm-conf/pull/331
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/284
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/sc8280xp/HiFi.conf

index 9af5d154349d62cd7f3a4d0292adb3c59f25b19d..a184e9dc98261fbc89860f43a0e87fd63f4fb661 100644 (file)
@@ -27,7 +27,7 @@ SectionDevice."Speaker" {
 
        Value {
                PlaybackPriority 100
-               PlaybackPCM "hw:${CardId},5"
+               PlaybackPCM "hw:${CardId},1"
                PlaybackMixer "default:${CardId}"
        }
 }
@@ -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"
@@ -60,7 +60,7 @@ SectionDevice."Mic" {
 
        Value {
                CapturePriority 100
-               CapturePCM "hw:${CardId},6"
+               CapturePCM "hw:${CardId},2"
                CaptureMixerElem "ADC2"
                JackControl "Mic Jack"
                JackHWMute "DMic01"
@@ -78,6 +78,6 @@ SectionDevice."DMic01" {
 
        Value {
                CapturePriority 100
-               CapturePCM "hw:${CardId},7"
+               CapturePCM "hw:${CardId},3"
        }
 }