Messages in this thread | | | Date | Thu, 21 Dec 2023 09:27:16 +0100 | From | Takashi Iwai <> | Subject | Re: [PATCH v1 2/2] ALSA: hda: cs35l41: Only add SPI CS GPIO if SPI is enabled in kernel |
| |
On Wed, 20 Dec 2023 09:10:37 +0100, Takashi Iwai wrote: > > On Tue, 19 Dec 2023 17:22:32 +0100, > Stefan Binding wrote: > > > > If CONFIG_SPI is not set in the kernel, there is no point in trying > > to set the chip selects. We can selectively compile it. > > I guess it should with IS_REACHABLE() instead of IS_ENABLED()? > It can be still CONFIG_SPI=m while CONFIG_SND_HDA_*=y.
In anyway, I applied the patches as is for now, as it should work in most cases. Let's see whether the use of IS_REACHABLE() is required.
thanks,
Takashi
| |