Accepting request 1225287 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1225287
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alsa-utils?expand=0&rev=149
This commit is contained in:
Ana Guerrero 2024-11-21 14:13:07 +00:00 committed by Git OBS Bridge
commit 348e6233fe
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From 6f7ce73159c02b726a6f0fe0acff961c95e337a8 Mon Sep 17 00:00:00 2001
From: Aaron Ma <aaron.ma@canonical.com>
Date: Wed, 20 Nov 2024 15:55:02 +0800
Subject: [PATCH] alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach link
The link name of AMD ACP digital microphones driver acp-pdm-mach
is acp-dmic-codec. Fix it to make UCM initialize it again.
Closes: https://github.com/alsa-project/alsa-utils/pull/281
Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
---
alsactl/90-alsa-restore.rules.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/alsactl/90-alsa-restore.rules.in b/alsactl/90-alsa-restore.rules.in
index dae2ed8ccc8f..5db6080b0dc6 100644
--- a/alsactl/90-alsa-restore.rules.in
+++ b/alsactl/90-alsa-restore.rules.in
@@ -14,7 +14,7 @@ DRIVERS=="snd_hda_intel", TEST=="device/pcmC$env{ALSA_CARD_NUMBER}D0p", RUN+="/b
TEST=="device/device/acp3x-dmic-capture", GOTO="alsa_hda_analog"
TEST=="device/device/acp6x-dmic-capture", GOTO="alsa_hda_analog"
TEST=="device/device/acp63-dmic-capture", GOTO="alsa_hda_analog"
-TEST=="device/device/acp-pdm-dmic", GOTO="alsa_hda_analog"
+TEST=="device/device/acp-dmic-codec", GOTO="alsa_hda_analog"
GOTO="alsa_restore_std"
LABEL="alsa_hda_analog"
--
2.43.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 20 11:25:32 UTC 2024 - Takashi Iwai <tiwai@suse.com>
- Yet another fix for alsactl for AMD acp dmic:
0002-alsactl-90-alsa-restore.rules-fix-AMD-acp-pdm-mach-l.patch
-------------------------------------------------------------------
Thu Nov 14 09:02:51 UTC 2024 - Takashi Iwai <tiwai@suse.com>

View File

@ -45,6 +45,7 @@ Source5: load-sound-modules.sh
Source6: alsa-utils.keyring
# upstream fixes
Patch1: 0001-alsactl-90-alsa-restore.rules-fix-alsa_restore_go-st.patch
Patch2: 0002-alsactl-90-alsa-restore.rules-fix-AMD-acp-pdm-mach-l.patch
# downstream fixes
Patch100: alsa-info-no-update-for-distro-script.patch
Patch101: alsa-utils-configure-version-revert.patch
@ -92,6 +93,7 @@ and test audio before and after PM state changes.
%prep
%setup -q
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 100 -p1
%if 0%{?do_autoreconf} || 0%{?build_from_git}
%patch -P 101 -p1