[PATCH] bcm27xx: add SND_SOC_AD193X_SPI to kernel configs

Stijn Tintel stijn at linux-ipv6.be
Thu Sep 30 10:19:26 PDT 2021


On 30/09/2021 19:58, Stijn Tintel wrote:
> When building an image for the bcm27xx target, some combinations of
> config options will fail to build due the SND_SOC_AD193X_SPI kernel
> config symbol being missing.
>
> The problem only occurs on bcm27xx as the target contains a patch that
> modifies the Kconfig file containing the symbol. In the vanilla kernel,
> there is no string after the TRISTATE keyword so the symbol is not
> exposed.
>
> The symbol depends on SPI_MASTER, which is exposed by either
> kmod-mmc-spi, kmod-spi-bitbang, kmod-spi-dev, kmod-spi-bcm2835 or
> kmod-spi-bcm2835-aux. It is defined in thesound/soc/codecs directory,
> which is only included when SND_SOC is enabled, so this problem doesn't
> occur when kmod-sound-soc-core is not enabled. As the
> kmod-sound-soc-bcm2835-i2s package disables the SND_SOC_AD193X_SPI
> symbol, it also doesn't occur when kmod-sound-soc-bcm2835-i2s is
> enabled.
>
> As there are several possible config combinations that do exhibit this
> problem, it is best to solve it by adding the missing symbol to the
> subtarget kernel configs. By doing this we can remove it from the
> kmod-sound-soc-bcm2835-i2s package.

Please disregard, this is incomplete.

Stijn




More information about the openwrt-devel mailing list