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 <broonie@kernel.org> Link: https://lore.kernel.org/r/20230929-clk-maple-si-v1-2-e26cfcaf27bd@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 2917134 commit e2ec8f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)