]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: adau7118: Fix Kconfig warning without CONFIG_I2C
authorYueHaibing <yuehaibing@huawei.com>
Fri, 11 Oct 2019 15:00:42 +0000 (23:00 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 14 Oct 2019 11:57:48 +0000 (12:57 +0100)
commit1d318bb8d83a8e53b4ef6a9714051b1c327c36e1
treebe94bc2c6a732f47ac0334d079533d71c8080663
parent3f0c51466f029058428a9d2d28f42ae59ff33dd7
ASoC: adau7118: Fix Kconfig warning without CONFIG_I2C

When building a kernel without CONFIG_I2C, Kconfig warns:

WARNING: unmet direct dependencies detected for REGMAP_I2C
  Depends on [n]: I2C [=n]
  Selected by [y]:
  - SND_SOC_ADAU7118_I2C [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y]

Add missing I2C dependency to SND_SOC_ADAU7118_I2C to fix this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: d3c090ac5287 ("ASOC: Add ADAU7118 8 Channel PDM-to-I2S/TDM Converter driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20191011150042.20096-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig