alsa-ucm-conf/0024-VEYRON-I2S-corrections-and-fixes.patch
Takashi Iwai fb96ce2716 Accepting request 774838 from home:tiwai:branches:multimedia:libs
- Backport upstream fixes: cleanup and correctsion for ucm2:
  0007-broxton-rt298-corrections-cleanups.patch
  0008-bytcr-rt5640-cleanups-and-corrections.patch
  0009-bytcr-rt5651-cleanups-and-corrections.patch
  0010-bytcht-cx2072x-cleanups-and-corrections.patch
  0011-bytcht-es8316-cleanups-and-corrections.patch
  0012-DAISY-I2S-added-back-PCM-devices.patch
  0013-DB410c-cleanups-and-corrections.patch
  0014-DB820c-cleanups-and-corrections.patch
  0015-Dell-WD15-Dock-cleaups-and-corrections.patch
  0016-HDA-Intel-HiFi-dual-fixes-and-corrections.patch
  0017-cht-bsw-rt5672-fixes-and-corrections.patch
  0018-chtnau8824-fixes-and-corrections.patch
  0019-skylake-rt286-fixes-and-corrections.patch
  0020-SDP4430-corrections-and-fixes.patch
  0021-sof-hda-dsp-fix-typo-PlaybackMixerMaster-PlaybackMas.patch
  0022-broadwell-rt286-add-correct-prefix-to-Priority-field.patch
  0023-GoogleNyan-comment-CaptureControl-what-is-this.patch
  0024-VEYRON-I2S-corrections-and-fixes.patch
  0025-SDP4430-corrections-and-fixes.patch
  0026-chtrt5645-corrections-and-fixes.patch
  0027-GoogleNyan-corrections-and-fixes.patch
  0028-PAZ00-corrections-and-fixes.patch
  0029-SDP4430-corrections-and-fixes.patch
  0030-PandaBoard-corrections-and-fixes.patch
  0031-PandaBoardES-corrections-and-fixes.patch
  0032-kblrt5660-corrections-and-fixes.patch
  0033-bytcr-rt5640-corrections-and-fixes.patch
  0034-bytcht-es8316-corrections-and-fixes.patch
  0035-sof-hda-dsp-corrections-and-fixes.patch

OBS-URL: https://build.opensuse.org/request/show/774838
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-ucm-conf?expand=0&rev=7
2020-02-17 11:44:56 +00:00

80 lines
1.6 KiB
Diff

From eed10701463b605ba5b6587d897deff742cbb5a0 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Tue, 4 Feb 2020 17:48:10 +0100
Subject: [PATCH 24/36] VEYRON-I2S: corrections and fixes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/VEYRON-I2S/HiFi.conf | 24 ++++++++++++++++--------
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/ucm2/VEYRON-I2S/HiFi.conf b/ucm2/VEYRON-I2S/HiFi.conf
index 8d07c7337fd7..bed87c54cbd9 100644
--- a/ucm2/VEYRON-I2S/HiFi.conf
+++ b/ucm2/VEYRON-I2S/HiFi.conf
@@ -45,25 +45,31 @@ SectionDevice."Speaker" {
Comment "Speaker"
Value {
- PlaybackPCM "hw:${CardId},0"
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId}"
}
+
EnableSequence [
cset "name='Speaker Switch' on"
]
+
DisableSequence [
cset "name='Speaker Switch' off"
]
}
-SectionDevice."Internal Mic" {
- Comment "Int Mic"
+SectionDevice."Mic" {
+ Comment "Internal Microphone"
Value {
- CapturePCM "hw:${CardId},0"
+ CapturePriority 100
+ CapturePCM "hw:${CardId}"
}
+
EnableSequence [
cset "name='Int Mic Switch' on"
]
+
DisableSequence [
cset "name='Int Mic Switch' off"
]
@@ -73,7 +79,8 @@ SectionDevice."Headphones" {
Comment "Headphones"
Value {
- PlaybackPCM "hw:${CardId},0"
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
}
EnableSequence [
@@ -88,11 +95,12 @@ SectionDevice."Headphones" {
]
}
-SectionDevice."Mic" {
- Comment "Headset Mic"
+SectionDevice."Headset" {
+ Comment "Headset Microphone"
Value {
- CapturePCM "hw:${CardId},0"
+ CapturePriority 200
+ CapturePCM "hw:${CardId}"
}
EnableSequence [
--
2.16.4