Skip to content

Commit 2917134

Browse files
brooniebebarino
authored andcommitted
clk: si514: 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-1-e26cfcaf27bd@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 6fc469a commit 2917134

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/clk-si514.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static bool si514_regmap_is_writeable(struct device *dev, unsigned int reg)
321321
static const struct regmap_config si514_regmap_config = {
322322
.reg_bits = 8,
323323
.val_bits = 8,
324-
.cache_type = REGCACHE_RBTREE,
324+
.cache_type = REGCACHE_MAPLE,
325325
.max_register = SI514_REG_CONTROL,
326326
.writeable_reg = si514_regmap_is_writeable,
327327
.volatile_reg = si514_regmap_is_volatile,

0 commit comments

Comments
 (0)