clk: cdce925: Convert to use maple tree register cache
authorMark Brown <broonie@kernel.org>
Fri, 29 Sep 2023 12:03:43 +0000 (14:03 +0200)
committerStephen 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

index cdee495..5ffaf12 100644 (file)
@@ -647,7 +647,7 @@ static int cdce925_probe(struct i2c_client *client)
                .name = "configuration0",
                .reg_bits = 8,
                .val_bits = 8,
-               .cache_type = REGCACHE_RBTREE,
+               .cache_type = REGCACHE_MAPLE,
        };
 
        dev_dbg(&client->dev, "%s\n", __func__);