Skip to content

Commit ebb7a19

Browse files
brooniebebarino
authored andcommitted
clk: si570: 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 8df0909 commit ebb7a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk-si570.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ static bool si570_regmap_is_writeable(struct device *dev, unsigned int reg)
392392
static const struct regmap_config si570_regmap_config = {
393393
.reg_bits = 8,
394394
.val_bits = 8,
395-
.cache_type = REGCACHE_RBTREE,
395+
.cache_type = REGCACHE_MAPLE,
396396
.max_register = 137,
397397
.writeable_reg = si570_regmap_is_writeable,
398398
.volatile_reg = si570_regmap_is_volatile,

0 commit comments

Comments
 (0)