[PATCH 07/17] ASoC: max98388: Use maple tree register cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



The maple tree register cache uses a more modern data structure than the
rbtree cache and makes optimisation choices that are more appropriate for
current hardware, unless there is a specific reason to do something else
then maple is a better choice for most devices. Switch to it.

Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
---
 sound/soc/codecs/max98388.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/max98388.c b/sound/soc/codecs/max98388.c
index b847d7c59ec012778e3d2f44526e96b5210ec494..f05c8079ad36e77f5cee9213bea8f41481da6536 100644
--- a/sound/soc/codecs/max98388.c
+++ b/sound/soc/codecs/max98388.c
@@ -883,7 +883,7 @@ static const struct regmap_config max98388_regmap = {
 	.num_reg_defaults = ARRAY_SIZE(max98388_reg),
 	.readable_reg = max98388_readable_register,
 	.volatile_reg = max98388_volatile_reg,
-	.cache_type = REGCACHE_RBTREE,
+	.cache_type = REGCACHE_MAPLE,
 };
 
 static const struct snd_soc_component_driver soc_codec_dev_max98388 = {

-- 
2.39.5





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux