Skip to content

Commit 2e9a3fc

Browse files
broonielag-linaro
authored andcommitted
mfd: tps65128: 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: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20231001-mfd-ti-maple-v1-3-0657862de3f6@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 778eea2 commit 2e9a3fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mfd/tps65218.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static const struct regmap_access_table tps65218_volatile_table = {
127127
static const struct regmap_config tps65218_regmap_config = {
128128
.reg_bits = 8,
129129
.val_bits = 8,
130-
.cache_type = REGCACHE_RBTREE,
130+
.cache_type = REGCACHE_MAPLE,
131131
.volatile_table = &tps65218_volatile_table,
132132
};
133133

0 commit comments

Comments
 (0)