alsa-ucm-conf/0015-bytcr-rt5651-fix-the-cfg-mic-in1-cfg-mic-in12-match-.patch
Takashi Iwai 823fc1a5be Accepting request 809162 from home:tiwai:branches:multimedia:libs
- More catch up of upstream fixes: mostly cosmetic style fixes:
  0011-ucm2-remove-empty-enable-disable-sequence-sections.patch
  0012-ucm2-fix-indentation-use-tabs.patch
  0013-Add-initial-support-for-Realtek-ALC1220-TRX40-mother.patch
  0014-ucm2-fix-chtrt5650-configuration-ucm-validator.patch
  0015-bytcr-rt5651-fix-the-cfg-mic-in1-cfg-mic-in12-match-.patch
  0016-ucm-fix-wrong-If-in-sequence-in-HiFi-dual.conf.patch
- Add UCM profile for Chromebook Asus C300 (bsc#1171492):
  0100-ucm2-Add-profile-for-Chromebook-Asus-C300.patch

OBS-URL: https://build.opensuse.org/request/show/809162
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-ucm-conf?expand=0&rev=13
2020-05-27 06:46:59 +00:00

53 lines
1.1 KiB
Diff

From 1b502a0b5b0f4068afa2afd1f81372fe9f323eb5 Mon Sep 17 00:00:00 2001
From: Jaroslav Kysela <perex@perex.cz>
Date: Mon, 25 May 2020 17:03:03 +0200
Subject: [PATCH] bytcr-rt5651: fix the cfg-mic:in1 / cfg-mic:in12 match error
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
ucm2/bytcr-rt5651/HiFi-Components.conf | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/ucm2/bytcr-rt5651/HiFi-Components.conf b/ucm2/bytcr-rt5651/HiFi-Components.conf
index d0a573ef2cba..966e8797f6b7 100644
--- a/ucm2/bytcr-rt5651/HiFi-Components.conf
+++ b/ucm2/bytcr-rt5651/HiFi-Components.conf
@@ -50,17 +50,6 @@ If.dmic {
}
}
-If.in1 {
- Condition {
- Type String
- Haystack "${CardComponents}"
- Needle "cfg-mic:in1"
- }
- True {
- <codecs/rt5651/IN1-InternalMic.conf>
- }
-}
-
If.in2 {
Condition {
Type String
@@ -81,4 +70,16 @@ If.in12 {
True {
<codecs/rt5651/IN12-InternalMic.conf>
}
+ False {
+ If.in1 {
+ Condition {
+ Type String
+ Haystack "${CardComponents}"
+ Needle "cfg-mic:in1"
+ }
+ True {
+ <codecs/rt5651/IN1-InternalMic.conf>
+ }
+ }
+ }
}
--
2.16.4