From: Srinivas Kandagatla Date: Wed, 28 Jun 2023 09:07:54 +0000 (+0100) Subject: ucm2: Qualcomm: sc8280xp: fix device numbers X-Git-Tag: v1.2.10~18 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9bda3d15cc38bb705a1aa13f58adfea74bf37fe8;p=alsa-ucm-conf.git 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: 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 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/Qualcomm/sc8280xp/HiFi.conf b/ucm2/Qualcomm/sc8280xp/HiFi.conf index 9af5d15..a184e9d 100644 --- a/ucm2/Qualcomm/sc8280xp/HiFi.conf +++ b/ucm2/Qualcomm/sc8280xp/HiFi.conf @@ -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" } }