aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-26 12:23:42 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-27 05:32:14 -0500
commit2e19b0c8c21cb06eb5b902588c30ae0529ce8ec3 (patch)
tree8784fdce6615579684ddd915ae9677af00305186 /sound/soc/codecs/wm8994.c
parentca9aef50727dec76ab12513ba833a1cf5e9d7e83 (diff)
ASoC: Enable rbtree compression for WM8994/58 register cache
The WM8994 and WM8958 register map is relatively sparse so benefits from compression. The rbtree compression gives better results than LZO for both memory and CPU consumption on a map as sparse as this. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index d9c6dd5823b4..5f203c545e00 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3033,6 +3033,7 @@ static struct snd_soc_codec_driver soc_codec_dev_wm8994 = {
3033 .reg_cache_size = WM8994_CACHE_SIZE, 3033 .reg_cache_size = WM8994_CACHE_SIZE,
3034 .reg_cache_default = wm8994_reg_defaults, 3034 .reg_cache_default = wm8994_reg_defaults,
3035 .reg_word_size = 2, 3035 .reg_word_size = 2,
3036 .compress_type = SND_SOC_RBTREE_COMPRESSION,
3036}; 3037};
3037 3038
3038static int __devinit wm8994_probe(struct platform_device *pdev) 3039static int __devinit wm8994_probe(struct platform_device *pdev)