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

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>

authored by

Mark Brown and committed by
Stephen Boyd
29171344 6fc469ab

+1 -1
+1 -1
drivers/clk/clk-si514.c
··· 321 321 static const struct regmap_config si514_regmap_config = { 322 322 .reg_bits = 8, 323 323 .val_bits = 8, 324 - .cache_type = REGCACHE_RBTREE, 324 + .cache_type = REGCACHE_MAPLE, 325 325 .max_register = SI514_REG_CONTROL, 326 326 .writeable_reg = si514_regmap_is_writeable, 327 327 .volatile_reg = si514_regmap_is_volatile,