]> git.hungrycats.org Git - linux/commit
sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
authorJulian Vetter <jvetter@kalrayinc.com>
Thu, 10 Oct 2024 12:46:01 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Nov 2024 13:59:39 +0000 (14:59 +0100)
commitb718f71747b7e4e9ed83230f9dcde38110a9cd1c
treeddcd1bf566f08f7cec997970ab48d13845cec655
parentdc834af641d75834f9fbc4247fa3a70d4fca5afb
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>
sound/Kconfig