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

clk: si5341: 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-2-e26cfcaf27bd@kernel.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Mark Brown and committed by
Stephen Boyd
e2ec8f66 29171344

+1 -1
+1 -1
drivers/clk/clk-si5341.c
··· 1260 1260 static const struct regmap_config si5341_regmap_config = { 1261 1261 .reg_bits = 8, 1262 1262 .val_bits = 8, 1263 - .cache_type = REGCACHE_RBTREE, 1263 + .cache_type = REGCACHE_MAPLE, 1264 1264 .ranges = si5341_regmap_ranges, 1265 1265 .num_ranges = ARRAY_SIZE(si5341_regmap_ranges), 1266 1266 .max_register = SI5341_REGISTER_MAX,