Skip to content

Commit 6fc469a

Browse files
brooniebebarino
authored andcommitted
clk: cdce925: 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 0bb80ec commit 6fc469a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/clk-cdce925.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ static int cdce925_probe(struct i2c_client *client)
647647
.name = "configuration0",
648648
.reg_bits = 8,
649649
.val_bits = 8,
650-
.cache_type = REGCACHE_RBTREE,
650+
.cache_type = REGCACHE_MAPLE,
651651
};
652652

653653
dev_dbg(&client->dev, "%s\n", __func__);

0 commit comments

Comments
 (0)