[PATCH 15/17] ASoC: max98925: 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/max98925.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/max98925.c b/sound/soc/codecs/max98925.c
index 66c78051bd09896c6973f24e16d83544f252d3c3..8a931cf840626dce7f8334461c95241cf4de042f 100644
--- a/sound/soc/codecs/max98925.c
+++ b/sound/soc/codecs/max98925.c
@@ -554,7 +554,7 @@ static const struct regmap_config max98925_regmap = {
 	.num_reg_defaults = ARRAY_SIZE(max98925_reg),
 	.volatile_reg     = max98925_volatile_register,
 	.readable_reg     = max98925_readable_register,
-	.cache_type       = REGCACHE_RBTREE,
+	.cache_type       = REGCACHE_MAPLE,
 };
 
 static int max98925_i2c_probe(struct i2c_client *i2c)

-- 
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