mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-09 04:51:05 +00:00
![Arnd Bergmann](/assets/img/avatar_default.png)
The newly added mediatek drivers for mt8173 select codes that depend on I2C, which cuases a build failure if I2C is disabled: warning: (SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && EXTCON_MAX77843 && BMC150_ACCEL_I2C && BMG160_I2C) selects REGMAP_I2C which has unmet direct dependencies (I2C) codecs/rt5645.c:3854:1: warning: data definition has no type or storage class codecs/rt5645.c:3854:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] codecs/rt5677.c:5270:1: warning: data definition has no type or storage class 77_i2c_driver); codecs/rt5677.c:5270:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] This adds an explicit dependency. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Koro Chen <koro.chen@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
31 lines
902 B
Plaintext
31 lines
902 B
Plaintext
config SND_SOC_MEDIATEK
|
|
tristate "ASoC support for Mediatek chip"
|
|
depends on ARCH_MEDIATEK
|
|
help
|
|
This adds ASoC platform driver support for Mediatek 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_MEDIATEK && 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_RT5676
|
|
tristate "ASoC Audio driver for MT8173 with RT5650 RT5676 codecs"
|
|
depends on SND_SOC_MEDIATEK && I2C
|
|
select SND_SOC_RT5645
|
|
select SND_SOC_RT5677
|
|
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".
|
|
|