mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
![Mark Brown](/assets/img/avatar_default.png)
The s6105-ipcam driver calls i2c_register_board_info() which means that
not only does it need I2C to be enabled to be built but since that
symbol is not exported it means that the driver also can't be linked as
a module. Use a bool instead of a tristate and add a dependency on I2C
to fix these issues.
Commit b5dd60fd26
(ASoC: s6000: Allow to build when COMPILE_TEST is
enabled) made this problem more visible since it enabled build of the
driver on more common architectures but this has always been an issue.
Signed-off-by: Mark Brown <broonie@linaro.org>
26 lines
762 B
Text
26 lines
762 B
Text
config SND_S6000_SOC
|
|
tristate "SoC Audio for the Stretch s6000 family"
|
|
depends on XTENSA_VARIANT_S6000 || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
select SND_S6000_SOC_PCM if XTENSA_VARIANT_S6000
|
|
help
|
|
Say Y or M if you want to add support for codecs attached to
|
|
s6000 family chips. You will also need to select the platform
|
|
to support below.
|
|
|
|
config SND_S6000_SOC_PCM
|
|
tristate
|
|
|
|
config SND_S6000_SOC_I2S
|
|
tristate
|
|
|
|
config SND_S6000_SOC_S6IPCAM
|
|
bool "SoC Audio support for Stretch 6105 IP Camera"
|
|
depends on SND_S6000_SOC=y
|
|
depends on I2C=y
|
|
depends on XTENSA_PLATFORM_S6105 || COMPILE_TEST
|
|
select SND_S6000_SOC_I2S
|
|
select SND_SOC_TLV320AIC3X
|
|
help
|
|
Say Y if you want to add support for SoC audio on the
|
|
Stretch s6105 IP Camera Reference Design.
|