Skip to content

Commit 4b58a01

Browse files
brooniebebarino
authored andcommitted
clk: versaclock3: 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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent df43983 commit 4b58a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk-versaclock3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ static const struct clk_ops vc3_clk_mux_ops = {
589589
static const struct regmap_config vc3_regmap_config = {
590590
.reg_bits = 8,
591591
.val_bits = 8,
592-
.cache_type = REGCACHE_RBTREE,
592+
.cache_type = REGCACHE_MAPLE,
593593
.max_register = 0x24,
594594
};
595595

0 commit comments

Comments
 (0)