diff options
author | 2023-12-19 16:22:32 +0000 | |
---|---|---|
committer | 2023-12-21 09:24:01 +0100 | |
commit | 916d051730ae48aef8b588fd096fefca4bc0590a (patch) | |
tree | 256462f6806fd353efd3691b67f8feea4e09d2ed /sound/pci/hda/tas2781_hda_i2c.c | |
parent | ALSA: hda: cs35l41: Do not allow uninitialised variables to be freed (diff) | |
download | linux-rng-916d051730ae48aef8b588fd096fefca4bc0590a.tar.xz linux-rng-916d051730ae48aef8b588fd096fefca4bc0590a.zip |
ALSA: hda: cs35l41: Only add SPI CS GPIO if SPI is enabled in kernel
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.
Fixes: 8c4c216db8fb ("ALSA: hda: cs35l41: Add config table to support many laptops without _DSD")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202312192256.lJelQEoZ-lkp@intel.com/
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231219162232.790358-3-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/tas2781_hda_i2c.c')
0 files changed, 0 insertions, 0 deletions