未验证 提交 0695ad92 编写于 作者: L Lucas Tanure 提交者: Mark Brown

ASoC: cs35l41: Fix undefined reference to core functions

Auto select core driver if i2c or spi bus drivers are
selected

Fixes: a5e0091d ("ASoC: cs35l41: Fix link problem")
Signed-off-by: NLucas Tanure <tanureal@opensource.cirrus.com>
Reported-by: Nkernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/20211201180004.1402156-2-tanureal@opensource.cirrus.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 19a628d8
......@@ -614,17 +614,19 @@ config SND_SOC_CS35L36
config SND_SOC_CS35L41
tristate
default y if SND_SOC_CS35L41_SPI=y
default y if SND_SOC_CS35L41_I2C=y
default m if SND_SOC_CS35L41_SPI=m
default m if SND_SOC_CS35L41_I2C=m
config SND_SOC_CS35L41_SPI
tristate "Cirrus Logic CS35L41 CODEC (SPI)"
depends on SPI_MASTER
select SND_SOC_CS35L41
select REGMAP_SPI
config SND_SOC_CS35L41_I2C
tristate "Cirrus Logic CS35L41 CODEC (I2C)"
depends on I2C
select SND_SOC_CS35L41
select REGMAP_I2C
config SND_SOC_CS42L42
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册