diff options
author | Bo Liu <liubo03@inspur.com> | 2024-02-06 10:13:03 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-02-23 17:58:04 +0300 |
commit | 45900612fa63cd868e05a69e54476d7179861287 (patch) | |
tree | e3d0ff49e5277a575fb0dfc3070150d40503445d /drivers/mfd/da9055-core.c | |
parent | 1136eeaa41edd95b7aee9f4c6f97a1c50742c7e8 (diff) | |
download | linux-45900612fa63cd868e05a69e54476d7179861287.tar.xz |
mfd: dialog: 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: Bo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20240206071314.8721-8-liubo03@inspur.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/mfd/da9055-core.c')
-rw-r--r-- | drivers/mfd/da9055-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/da9055-core.c b/drivers/mfd/da9055-core.c index 768302e05baa..1f727ef60d63 100644 --- a/drivers/mfd/da9055-core.c +++ b/drivers/mfd/da9055-core.c @@ -245,7 +245,7 @@ const struct regmap_config da9055_regmap_config = { .reg_bits = 8, .val_bits = 8, - .cache_type = REGCACHE_RBTREE, + .cache_type = REGCACHE_MAPLE, .max_register = DA9055_MAX_REGISTER_CNT, .readable_reg = da9055_register_readable, |