projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bb80ec
)
clk: cdce925: Convert to use maple tree register cache
author
Mark Brown
<broonie@kernel.org>
Fri, 29 Sep 2023 12:03:43 +0000
(14:03 +0200)
committer
Stephen Boyd
<sboyd@kernel.org>
Tue, 10 Oct 2023 03:28:42 +0000
(20:28 -0700)
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>
drivers/clk/clk-cdce925.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-cdce925.c
b/drivers/clk/clk-cdce925.c
index cdee4958f26d070cbcbaf43cb94901ceecb87295..5ffaf1255ff7892ed2879d369813498acda0d204 100644
(file)
--- a/
drivers/clk/clk-cdce925.c
+++ b/
drivers/clk/clk-cdce925.c
@@
-647,7
+647,7
@@
static int cdce925_probe(struct i2c_client *client)
.name = "configuration0",
.reg_bits = 8,
.val_bits = 8,
- .cache_type = REGCACHE_
RBTRE
E,
+ .cache_type = REGCACHE_
MAPL
E,
};
dev_dbg(&client->dev, "%s\n", __func__);