mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 07:01:32 +00:00
f2a1fdb50d
During randconfig builds, I occasionally run into an invalid configuration
WARNING: unmet direct dependencies detected for SND_SOC_TS3A227E
Depends on [m]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=m]
Selected by [y]:
- SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_MT8183 [=y]
sound/soc/codecs/ts3a227e.o: In function `ts3a227e_i2c_probe':
ts3a227e.c:(.text+0x684): undefined reference to `__devm_regmap_init_i2c'
sound/soc/codecs/ts3a227e.o: In function `ts3a227e_driver_init':
ts3a227e.c:(.init.text+0x18): undefined reference to `i2c_register_driver'
sound/soc/codecs/ts3a227e.o: In function `ts3a227e_driver_exit':
ts3a227e.c:(.exit.text+0x14): undefined reference to `i2c_del_driver'
This patch add I2C dependency to fix this.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: ebbddc75bb
("ASoC: Mediatek: MT8183: Add machine driver with DA7219")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
154 lines
4.4 KiB
Plaintext
154 lines
4.4 KiB
Plaintext
config SND_SOC_MEDIATEK
|
|
tristate
|
|
|
|
config SND_SOC_MT2701
|
|
tristate "ASoC support for Mediatek MT2701 chip"
|
|
depends on ARCH_MEDIATEK
|
|
select SND_SOC_MEDIATEK
|
|
help
|
|
This adds ASoC driver for Mediatek MT2701 boards
|
|
that can be used with other codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT2701_CS42448
|
|
tristate "ASoc Audio driver for MT2701 with CS42448 codec"
|
|
depends on SND_SOC_MT2701 && I2C
|
|
select SND_SOC_CS42XX8_I2C
|
|
select SND_SOC_BT_SCO
|
|
help
|
|
This adds ASoC driver for Mediatek MT2701 boards
|
|
with the CS42448 codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT2701_WM8960
|
|
tristate "ASoc Audio driver for MT2701 with WM8960 codec"
|
|
depends on SND_SOC_MT2701 && I2C
|
|
select SND_SOC_WM8960
|
|
help
|
|
This adds ASoC driver for Mediatek MT2701 boards
|
|
with the WM8960 codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT6797
|
|
tristate "ASoC support for Mediatek MT6797 chip"
|
|
depends on ARCH_MEDIATEK
|
|
select SND_SOC_MEDIATEK
|
|
help
|
|
This adds ASoC driver for Mediatek MT6797 boards
|
|
that can be used with other codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT6797_MT6351
|
|
tristate "ASoc Audio driver for MT6797 with MT6351 codec"
|
|
depends on SND_SOC_MT6797 && MTK_PMIC_WRAP
|
|
select SND_SOC_MT6351
|
|
help
|
|
This adds ASoC driver for Mediatek MT6797 boards
|
|
with the MT6351 codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8173
|
|
tristate "ASoC support for Mediatek MT8173 chip"
|
|
depends on ARCH_MEDIATEK
|
|
select SND_SOC_MEDIATEK
|
|
help
|
|
This adds ASoC platform driver support for Mediatek MT8173 chip
|
|
that can be used with other codecs.
|
|
Select Y if you have such device.
|
|
Ex: MT8173
|
|
|
|
config SND_SOC_MT8173_MAX98090
|
|
tristate "ASoC Audio driver for MT8173 with MAX98090 codec"
|
|
depends on SND_SOC_MT8173 && I2C
|
|
select SND_SOC_MAX98090
|
|
help
|
|
This adds ASoC driver for Mediatek MT8173 boards
|
|
with the MAX98090 audio codec.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8173_RT5650
|
|
tristate "ASoC Audio driver for MT8173 with RT5650 codec"
|
|
depends on SND_SOC_MT8173 && I2C
|
|
select SND_SOC_RT5645
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
This adds ASoC driver for Mediatek MT8173 boards
|
|
with the RT5650 audio codec.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8173_RT5650_RT5514
|
|
tristate "ASoC Audio driver for MT8173 with RT5650 RT5514 codecs"
|
|
depends on SND_SOC_MT8173 && I2C
|
|
select SND_SOC_RT5645
|
|
select SND_SOC_RT5514
|
|
help
|
|
This adds ASoC driver for Mediatek MT8173 boards
|
|
with the RT5650 and RT5514 codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8173_RT5650_RT5676
|
|
tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
|
|
depends on SND_SOC_MT8173 && I2C
|
|
select SND_SOC_RT5645
|
|
select SND_SOC_RT5677
|
|
select SND_SOC_HDMI_CODEC
|
|
help
|
|
This adds ASoC driver for Mediatek MT8173 boards
|
|
with the RT5650 and RT5676 codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8183
|
|
tristate "ASoC support for Mediatek MT8183 chip"
|
|
depends on ARCH_MEDIATEK
|
|
select SND_SOC_MEDIATEK
|
|
help
|
|
This adds ASoC platform driver support for Mediatek MT8183 chip
|
|
that can be used with other codecs.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8183_MT6358_TS3A227E_MAX98357A
|
|
tristate "ASoC Audio driver for MT8183 with MT6358 TS3A227E MAX98357A codec"
|
|
depends on I2C
|
|
depends on SND_SOC_MT8183
|
|
select SND_SOC_MT6358
|
|
select SND_SOC_MAX98357A
|
|
select SND_SOC_BT_SCO
|
|
select SND_SOC_TS3A227E
|
|
help
|
|
This adds ASoC driver for Mediatek MT8183 boards
|
|
with the MT6358 TS3A227E MAX98357A audio codec.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MT8183_DA7219_MAX98357A
|
|
tristate "ASoC Audio driver for MT8183 with DA7219 MAX98357A codec"
|
|
depends on SND_SOC_MT8183
|
|
select SND_SOC_MT6358
|
|
select SND_SOC_MAX98357A
|
|
select SND_SOC_DA7219
|
|
select SND_SOC_BT_SCO
|
|
help
|
|
This adds ASoC driver for Mediatek MT8183 boards
|
|
with the DA7219 MAX98357A audio codec.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|
|
|
|
config SND_SOC_MTK_BTCVSD
|
|
tristate "ALSA BT SCO CVSD/MSBC Driver"
|
|
help
|
|
This is for software BTCVSD. This enable
|
|
the function for transferring/receiving
|
|
BT encoded data to/from BT firmware.
|
|
Select Y if you have such device.
|
|
If unsure select "N".
|