[PATCH] ALSA: hda: fix Kconfig dependency of HD Audio PCI

Oliver Hartkopp posted 1 patch 1 week, 2 days ago
sound/hda/controllers/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ALSA: hda: fix Kconfig dependency of HD Audio PCI
Posted by Oliver Hartkopp 1 week, 2 days ago
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>
---
 sound/hda/controllers/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/hda/controllers/Kconfig b/sound/hda/controllers/Kconfig
index 72855f2df451..5d6a77e68588 100644
--- a/sound/hda/controllers/Kconfig
+++ b/sound/hda/controllers/Kconfig
@@ -1,9 +1,9 @@
 # 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
 	  Say Y here to include support for Intel "High Definition
 	  Audio" (Azalia) and its compatible devices.

---
base-commit: 8fde5d1d47f69db6082dfa34500c27f8485389a5
change-id: 20260529-hda-kconfig-ae2c50b831cd

Best regards,
--  
Oliver Hartkopp <socketcan@hartkopp.net>
Re: [PATCH] ALSA: hda: fix Kconfig dependency of HD Audio PCI
Posted by Takashi Iwai 1 week ago
On Fri, 29 May 2026 17:23:59 +0200,
Oliver Hartkopp wrote:
> 
> 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>

Applied to for-next branch.  Thanks.


Takashi