summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Vetter <jvetter@kalrayinc.com>2024-10-10 14:46:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-17 15:07:20 +0100
commitb8d1f4d38306226054ab78ec3943b222ecc20f3e (patch)
treec060070e67521cce30c9bc622f7624a89a04b3d6
parent75a1b35dcc47c01fef4801f63a9f8946943ac9f3 (diff)
downloadlinux-b8d1f4d38306226054ab78ec3943b222ecc20f3e.tar.gz
linux-b8d1f4d38306226054ab78ec3943b222ecc20f3e.tar.bz2
linux-b8d1f4d38306226054ab78ec3943b222ecc20f3e.zip
sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
[ Upstream commit ad6639f143a0b42d7fb110ad14f5949f7c218890 ] When building for the UM arch and neither INDIRECT_IOMEM=y, nor HAS_IOMEM=y is selected, it will fall back to the implementations from asm-generic/io.h for IO memcpy. But these fall-back functions just do a memcpy. So, instead of depending on UML, add dependency on 'HAS_IOMEM || INDIRECT_IOMEM'. Reviewed-by: Yann Sionneau <ysionneau@kalrayinc.com> Signed-off-by: Julian Vetter <jvetter@kalrayinc.com> Link: https://patch.msgid.link/20241010124601.700528-1-jvetter@kalrayinc.com Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--sound/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index 1903c35d799e..5848eedcc3c9 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
menuconfig SOUND
tristate "Sound card support"
- depends on HAS_IOMEM || UML
+ depends on HAS_IOMEM || INDIRECT_IOMEM
help
If you have a sound card in your computer, i.e. if it can say more
than an occasional beep, say Y.