]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: Qualcomm: Radxa: fix Displayport SectionDevice
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Tue, 14 Oct 2025 17:12:40 +0000 (18:12 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 29 Oct 2025 16:42:04 +0000 (17:42 +0100)
for some reason this ucm endedup using DisplayPort for SectionDevice
instead of HDMI. This was resulting in below failures of any PR against
Qualcomm devices.

Run cd alsa-tests/python/ucm-validator2
./ucm.py configs --level=0 --ucmdir=../../../alsa-ucm-conf/ucm2
./Qualcomm/qcs6490/QCS6490-Radxa-Dragon-Q6A/HiFi.conf: Device name DisplayPort
 /'SectionDevice'.'DisplayPort'/ is not valid
(see https://github.com/alsa-project/alsa-lib/blob/master/include/use-case.h)
total errors: 1
make: *** [Makefile:10: configs] Error 1
Error: Process completed with exit code 2.

Fix this by using known devices from use-case.h

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/624
Fixes: 67628fb4871e ("ucm2: Qualcomm: add Radxa Dragon Q6A")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/Qualcomm/qcs6490/QCS6490-Radxa-Dragon-Q6A/HiFi.conf

index 4ed6b27965174e69754f9109d8c7d0d0832545a2..d36d0a7f2d90e8153b3ad815a27607b5380e7bf4 100644 (file)
@@ -36,8 +36,8 @@ SectionDevice."Headphones" {
        }
 }
 
-SectionDevice."DisplayPort" {
-       Comment "DisplayPort playback"
+SectionDevice."HDMI" {
+       Comment "HDMI/DisplayPort0 playback"
 
        EnableSequence [
                cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 0"