[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87y1nzbji8.wl-tiwai@suse.de>
Date: Tue, 14 Mar 2023 13:33:03 +0100
From: Takashi Iwai <tiwai@...e.de>
To: Niklas Schnelle <schnelle@...ux.ibm.com>
Cc: Arnd Bergmann <arnd@...db.de>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Alan Stern <stern@...land.harvard.edu>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
linux-pci@...r.kernel.org, Arnd Bergmann <arnd@...nel.org>,
alsa-devel@...a-project.org
Subject: Re: [PATCH v3 30/38] sound: add HAS_IOPORT dependencies
On Tue, 14 Mar 2023 13:12:08 +0100,
Niklas Schnelle wrote:
> --- a/sound/isa/Kconfig
> +++ b/sound/isa/Kconfig
> @@ -23,6 +23,7 @@ menuconfig SND_ISA
> bool "ISA sound devices"
> depends on ISA || COMPILE_TEST
> depends on ISA_DMA_API
> + depends on HAS_IOPORT
> default y
> help
> Support for sound devices connected via the ISA bus.
With this dependency, ...
> @@ -31,6 +32,7 @@ if SND_ISA
>
> config SND_ADLIB
> tristate "AdLib FM card"
> + depends on HAS_IOPORT
> select SND_OPL3_LIB
> help
> Say Y here to include support for AdLib FM cards.
... this and lots of other similar changes become redundant, as they
already depend on CONFIG_SND_ISA.
> --- a/sound/pcmcia/Kconfig
> +++ b/sound/pcmcia/Kconfig
> @@ -13,6 +13,7 @@ if SND_PCMCIA && PCMCIA
> config SND_VXPOCKET
> tristate "Digigram VXpocket"
> select SND_VX_LIB
> + depends on HAS_IOPORT
> help
> Say Y here to include support for Digigram VXpocket and
> VXpocket 440 soundcards.
> @@ -22,6 +23,7 @@ config SND_VXPOCKET
>
> config SND_PDAUDIOCF
> tristate "Sound Core PDAudioCF"
> + depends on HAS_IOPORT
> select SND_PCM
> help
> Say Y here to include support for Sound Core PDAudioCF
I guess it's easier to make CONFIG_SND_PCMCIA depending on
CONFIG_HAS_IOPORT (like done for CONFIG_SND_ISA).
thanks,
Takashi
Powered by blists - more mailing lists