Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230929-clk-rbtree-cdce925-v1-1-a36b459002f7@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Mark Brown and committed by
Stephen Boyd
6fc469ab 0bb80ecc

+1 -1
+1 -1
drivers/clk/clk-cdce925.c
··· 647 647 .name = "configuration0", 648 648 .reg_bits = 8, 649 649 .val_bits = 8, 650 - .cache_type = REGCACHE_RBTREE, 650 + .cache_type = REGCACHE_MAPLE, 651 651 }; 652 652 653 653 dev_dbg(&client->dev, "%s\n", __func__);