mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
68d44ee0bc
Make LZO cache compression optional as it pulls in the kernel wide LZO implementation and rbtree compression is generally more efficient for typical register maps, especially in terms of CPU performance. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
64 lines
1.8 KiB
Plaintext
64 lines
1.8 KiB
Plaintext
#
|
|
# SoC audio configuration
|
|
#
|
|
|
|
menuconfig SND_SOC
|
|
tristate "ALSA for SoC audio support"
|
|
select SND_PCM
|
|
select AC97_BUS if SND_SOC_AC97_BUS
|
|
select SND_JACK if INPUT=y || INPUT=SND
|
|
---help---
|
|
|
|
If you want ASoC support, you should say Y here and also to the
|
|
specific driver for your SoC platform below.
|
|
|
|
ASoC provides power efficient ALSA support for embedded battery powered
|
|
SoC based systems like PDA's, Phones and Personal Media Players.
|
|
|
|
This ASoC audio support can also be built as a module. If so, the module
|
|
will be called snd-soc-core.
|
|
|
|
if SND_SOC
|
|
|
|
config SND_SOC_CACHE_LZO
|
|
bool "Support LZO compression for register caches"
|
|
select LZO_COMPRESS
|
|
select LZO_DECOMPRESS
|
|
---help---
|
|
Select this to enable LZO compression for register caches.
|
|
This will allow machine or CODEC drivers to compress register
|
|
caches in memory, reducing the memory consumption at the
|
|
expense of performance. If this is not present and is used
|
|
the system will fall back to uncompressed caches.
|
|
|
|
Usually it is safe to disable this option, where cache
|
|
compression in used the rbtree option will typically perform
|
|
better.
|
|
|
|
config SND_SOC_AC97_BUS
|
|
bool
|
|
|
|
# All the supported SoCs
|
|
source "sound/soc/atmel/Kconfig"
|
|
source "sound/soc/au1x/Kconfig"
|
|
source "sound/soc/blackfin/Kconfig"
|
|
source "sound/soc/davinci/Kconfig"
|
|
source "sound/soc/ep93xx/Kconfig"
|
|
source "sound/soc/fsl/Kconfig"
|
|
source "sound/soc/imx/Kconfig"
|
|
source "sound/soc/jz4740/Kconfig"
|
|
source "sound/soc/nuc900/Kconfig"
|
|
source "sound/soc/omap/Kconfig"
|
|
source "sound/soc/kirkwood/Kconfig"
|
|
source "sound/soc/pxa/Kconfig"
|
|
source "sound/soc/samsung/Kconfig"
|
|
source "sound/soc/s6000/Kconfig"
|
|
source "sound/soc/sh/Kconfig"
|
|
source "sound/soc/txx9/Kconfig"
|
|
|
|
# Supported codecs
|
|
source "sound/soc/codecs/Kconfig"
|
|
|
|
endif # SND_SOC
|
|
|