OSDN Git Service

sof-soundwire: cleanups recommended by the ucm-validator
authorJaroslav Kysela <perex@perex.cz>
Wed, 24 Jun 2020 09:15:42 +0000 (11:15 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 24 Jun 2020 09:15:42 +0000 (11:15 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/sof-soundwire/RT1308-1.conf
ucm2/sof-soundwire/RT1308-2.conf
ucm2/sof-soundwire/RT5682.conf
ucm2/sof-soundwire/RT700.conf
ucm2/sof-soundwire/RT711.conf
ucm2/sof-soundwire/RT715.conf

index da2eeae..6da5b7e 100644 (file)
@@ -18,6 +18,5 @@ SectionDevice."Speaker" {
        Value {
              PlaybackPriority 100
              PlaybackPCM "hw:${CardId},2"
-             PlaybackChannels "2"
        }
 }
index 3484b70..f88cb81 100644 (file)
@@ -25,6 +25,5 @@ SectionDevice."Speaker" {
        Value {
              PlaybackPriority 100
              PlaybackPCM "hw:${CardId},2"
-             PlaybackChannels "2"
        }
 }
index 2a63bf2..95a251d 100644 (file)
@@ -26,8 +26,7 @@ If.RT5682 {
 
                        Value {
                              PlaybackPriority 200
-                             PlaybackPCM "hw:${CardId},0"
-                             PlaybackChannels "2"
+                             PlaybackPCM "hw:${CardId}"
                              JackControl "Headphone Jack"
                        }
                }
@@ -54,7 +53,6 @@ If.RT5682 {
                        Value {
                                CapturePriority 200
                                CapturePCM "hw:${CardId},1"
-                               CaptureChannels "2"
                                JackControl "Headset Mic Jack"
                        }
                }
index 9fe532c..d2df463 100644 (file)
@@ -25,8 +25,7 @@ If.RT700 {
 
                        Value {
                              PlaybackPriority 200
-                             PlaybackPCM "hw:${CardId},0"
-                             PlaybackChannels "2"
+                             PlaybackPCM "hw:${CardId}"
                              JackControl "Headphone Jack"
                        }
                }
@@ -48,8 +47,7 @@ If.RT700 {
 
                        Value {
                              PlaybackPriority 100
-                             PlaybackPCM "hw:${CardId},0"
-                             PlaybackChannels "2"
+                             PlaybackPCM "hw:${CardId}"
                        }
                }
 
@@ -67,7 +65,6 @@ If.RT700 {
                        Value {
                                CapturePriority 200
                                CapturePCM "hw:${CardId},1"
-                               CaptureChannels "2"
                                JackControl "Headset Mic Jack"
                        }
                }
index 11a504a..12b48ed 100644 (file)
@@ -21,8 +21,7 @@ If.RT711 {
 
                        Value {
                              PlaybackPriority 200
-                             PlaybackPCM "hw:${CardId},0"
-                             PlaybackChannels "2"
+                             PlaybackPCM "hw:${CardId}"
                              JackControl "Headphone Jack"
                        }
                }
@@ -41,7 +40,6 @@ If.RT711 {
                        Value {
                                CapturePriority 200
                                CapturePCM "hw:${CardId},1"
-                               CaptureChannels "2"
                                JackControl "Headset Mic Jack"
                                CaptureSwitch "PGA2.0 2 Master Capture Switch"
                                CaptureVolume "PGA2.0 2 Master Capture Volume"
index 2b8d89d..d1734ad 100644 (file)
@@ -22,7 +22,6 @@ If.RT715 {
                        Value {
                              CapturePriority 100
                              CapturePCM "hw:${CardId},4"
-                             CaptureChannels "2"
                              CaptureSwitch "PGA5.0 5 Master Capture Switch"
                              CaptureVolume "PGA5.0 5 Master Capture Volume"
                        }