21 Dec
2023
21 Dec
'23
8:27 a.m.
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