]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda: fix Kconfig dependency of HD Audio PCI
authorOliver Hartkopp <socketcan@hartkopp.net>
Fri, 29 May 2026 15:23:59 +0000 (17:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jun 2026 16:25:32 +0000 (18:25 +0200)
With commit 2d9223d2d64c ("ALSA: hda: Move controller drivers into
sound/hda/controllers directory") the HD Audio drivers have been moved
from linux/sound/pci/hda to linux/sound/hda.

But the Kconfig dependency for SND_HDA_INTEL stayed on SND_PCI instead of
depending on PCI directly. To make the "HD Audio PCI" configuration entry
visible it is currently needed to enable "PCI sound devices" although
no PCI device in the submenu needs to be selected.

Make SND_HDA_INTEL directly depending on hardware/architecture like the
other entries in this Kconfig.

Fixes: 2d9223d2d64c ("ALSA: hda: Move controller drivers into sound/hda/controllers directory")
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Link: https://patch.msgid.link/20260529-hda-kconfig-v1-1-4a2c6a0efd56@hartkopp.net
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/controllers/Kconfig

index 72855f2df45148d979e9a818915fbb7736f7ed43..5d6a77e68588e7174d8405ab08fa26d70697d304 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config SND_HDA_INTEL
        tristate "HD Audio PCI"
-       depends on SND_PCI
+       depends on PCI
        select SND_HDA
        select SND_INTEL_DSP_CONFIG
        help