Skip to content

Commit cea065d

Browse files
Bo Liubroonie
authored andcommitted
regulator: pf8x00: 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://msgid.link/r/20240320085740.4604-8-liubo03@inspur.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 0b03e9c commit cea065d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/regulator/pf8x00-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static const struct regmap_config pf8x00_regmap_config = {
142142
.reg_bits = 8,
143143
.val_bits = 8,
144144
.max_register = PF8X00_PAGE_SELECT,
145-
.cache_type = REGCACHE_RBTREE,
145+
.cache_type = REGCACHE_MAPLE,
146146
};
147147

148148
/* VLDOx output: 1.5V to 5.0V */

0 commit comments

Comments
 (0)