diff options
author | Bo Liu <liubo03@inspur.com> | 2024-02-06 02:13:06 -0500 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-02-23 14:58:04 +0000 |
commit | 9261cd047326afcda6b942c77c16c6b4c8fb0489 (patch) | |
tree | 7cc6b7e4f64a4dda262f71195bd79c8fbb206a4d /drivers/mfd/wm5110-tables.c | |
parent | baaa1b8e7d84d9b5399d8e75f6c9241465869c0e (diff) |
mfd: wolfson: Convert to use maple tree register cache
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.
Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240206071314.8721-11-liubo03@inspur.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/wm5110-tables.c')
-rw-r--r-- | drivers/mfd/wm5110-tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm5110-tables.c b/drivers/mfd/wm5110-tables.c index eba324875afd..6ff33a54a068 100644 --- a/drivers/mfd/wm5110-tables.c +++ b/drivers/mfd/wm5110-tables.c @@ -3202,7 +3202,7 @@ const struct regmap_config wm5110_spi_regmap = { .readable_reg = wm5110_readable_register, .volatile_reg = wm5110_volatile_register, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .reg_defaults = wm5110_reg_default, .num_reg_defaults = ARRAY_SIZE(wm5110_reg_default), }; |