android_kernel_xiaomi_sm8350/sound/soc/sprd/Kconfig
Baolin Wang 0e98759911 FROMGIT: ASoC: sprd: Allow the MCDT driver to build into modules
Change the config to 'tristate' for MCDT driver to allow it to build into
modules, as well as changing to use IS_ENABLED() to validate if need supply
dummy functions when building the MCDT driver as a module.

bug: 151273001
Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Link: https://lore.kernel.org/r/9306f2b99641136653ae4fe6cf9e859b7f698f77.1583387748.git.baolin.wang7@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit fd357ec595d36676c239d8d16706a270a961ac32
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next)
2020-03-13 11:04:43 +00:00

17 lines
561 B
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
config SND_SOC_SPRD
tristate "SoC Audio for the Spreadtrum SoC chips"
depends on ARCH_SPRD || COMPILE_TEST
select SND_SOC_COMPRESS
help
Say Y or M if you want to add support for codecs attached to
the Spreadtrum SoCs' Audio interfaces.
config SND_SOC_SPRD_MCDT
tristate "Spreadtrum multi-channel data transfer support"
depends on SND_SOC_SPRD
help
Say y here to enable multi-channel data transfer support. It
is used for sound stream transmission between audio subsystem
and other AP/CP subsystem.