Skip to content

Commit 728f337

Browse files
broonielag-linaro
authored andcommitted
mfd: max77686: 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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Link: https://lore.kernel.org/r/20231001-mfd-maxim-maple-v1-2-cdfeb48a4d15@kernel.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent fc12429 commit 728f337

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mfd/max77686.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ static const struct regmap_config max77802_regmap_config = {
108108
.precious_reg = max77802_is_precious_reg,
109109
.volatile_reg = max77802_is_volatile_reg,
110110
.name = "max77802-pmic",
111-
.cache_type = REGCACHE_RBTREE,
111+
.cache_type = REGCACHE_MAPLE,
112112
};
113113

114114
static const struct regmap_irq max77686_irqs[] = {

0 commit comments

Comments
 (0)