Skip to content

Commit 8df0909

Browse files
brooniebebarino
authored andcommitted
clk: si544: 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/20230929-clk-maple-si-v1-4-e26cfcaf27bd@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 41d2288 commit 8df0909

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/clk-si544.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ static bool si544_regmap_is_volatile(struct device *dev, unsigned int reg)
446446
static const struct regmap_config si544_regmap_config = {
447447
.reg_bits = 8,
448448
.val_bits = 8,
449-
.cache_type = REGCACHE_RBTREE,
449+
.cache_type = REGCACHE_MAPLE,
450450
.max_register = SI544_REG_PAGE_SELECT,
451451
.volatile_reg = si544_regmap_is_volatile,
452452
};

0 commit comments

Comments
 (0)