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/wm8400-core.c | |
parent | baaa1b8e7d84d9b5399d8e75f6c9241465869c0e (diff) | |
download | lwn-9261cd047326afcda6b942c77c16c6b4c8fb0489.tar.gz lwn-9261cd047326afcda6b942c77c16c6b4c8fb0489.zip |
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/wm8400-core.c')
-rw-r--r-- | drivers/mfd/wm8400-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm8400-core.c b/drivers/mfd/wm8400-core.c index 75483c9be0c4..ddfb234849dd 100644 --- a/drivers/mfd/wm8400-core.c +++ b/drivers/mfd/wm8400-core.c @@ -100,7 +100,7 @@ static const struct regmap_config wm8400_regmap_config = { .volatile_reg = wm8400_volatile, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, }; /** |