]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
6.1-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2023 07:17:47 +0000 (09:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Aug 2023 07:17:47 +0000 (09:17 +0200)
added patches:
asoc-amd-vangogh-select-config_snd_amd_acp_config.patch

queue-6.1/asoc-amd-vangogh-select-config_snd_amd_acp_config.patch [new file with mode: 0644]
queue-6.1/series

diff --git a/queue-6.1/asoc-amd-vangogh-select-config_snd_amd_acp_config.patch b/queue-6.1/asoc-amd-vangogh-select-config_snd_amd_acp_config.patch
new file mode 100644 (file)
index 0000000..3479cac
--- /dev/null
@@ -0,0 +1,34 @@
+From fd0a7ec379dbf21b7bfd81914381ae5281706ef5 Mon Sep 17 00:00:00 2001
+From: Arnd Bergmann <arnd@arndb.de>
+Date: Mon, 5 Jun 2023 10:58:29 +0200
+Subject: ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG
+
+From: Arnd Bergmann <arnd@arndb.de>
+
+commit fd0a7ec379dbf21b7bfd81914381ae5281706ef5 upstream.
+
+The vangogh driver just gained a link time dependency that now causes
+randconfig builds to fail:
+
+x86_64-linux-ld: sound/soc/amd/vangogh/pci-acp5x.o: in function `snd_acp5x_probe':
+pci-acp5x.c:(.text+0xbb): undefined reference to `snd_amd_acp_find_config'
+
+Fixes: e89f45edb747e ("ASoC: amd: vangogh: Add check for acp config flags in vangogh platform")
+Signed-off-by: Arnd Bergmann <arnd@arndb.de>
+Link: https://lore.kernel.org/r/20230605085839.2157268-1-arnd@kernel.org
+Signed-off-by: Mark Brown <broonie@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ sound/soc/amd/Kconfig |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/soc/amd/Kconfig
++++ b/sound/soc/amd/Kconfig
+@@ -71,6 +71,7 @@ config SND_SOC_AMD_RENOIR_MACH
+ config SND_SOC_AMD_ACP5x
+       tristate "AMD Audio Coprocessor-v5.x I2S support"
+       depends on X86 && PCI
++      select SND_AMD_ACP_CONFIG
+       help
+        This option enables ACP v5.x support on AMD platform
index b9d4aa5ea4910f9adecec8f00032761902687dce..6df339337ccb9ae19c41ce3048392d5c739a7b76 100644 (file)
@@ -119,3 +119,4 @@ gpio-sim-dispose-of-irq-mappings-before-destroying-t.patch
 gpio-sim-pass-the-gpio-device-s-software-node-to-irq.patch
 asoc-amd-yc-fix-a-non-functional-mic-on-lenovo-82sj.patch
 maple_tree-disable-mas_wr_append-when-other-readers-.patch
+asoc-amd-vangogh-select-config_snd_amd_acp_config.patch