Skip to content

Commit e2ec8f6

Browse files
brooniebebarino
authored andcommitted
clk: si5341: 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 2917134 commit e2ec8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk-si5341.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ static int si5341_wait_device_ready(struct i2c_client *client)
12601260
static const struct regmap_config si5341_regmap_config = {
12611261
.reg_bits = 8,
12621262
.val_bits = 8,
1263-
.cache_type = REGCACHE_RBTREE,
1263+
.cache_type = REGCACHE_MAPLE,
12641264
.ranges = si5341_regmap_ranges,
12651265
.num_ranges = ARRAY_SIZE(si5341_regmap_ranges),
12661266
.max_register = SI5341_REGISTER_MAX,

0 commit comments

Comments
 (0)