Skip to content

Commit 718963d

Browse files
brooniedtor
authored andcommitted
Input: cap11xx - 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> Link: https://lore.kernel.org/r/20231001-input-maple-v1-2-ed3716051431@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 39bd68d commit 718963d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/input/keyboard/cap11xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static const struct regmap_config cap11xx_regmap_config = {
187187
.reg_defaults = cap11xx_reg_defaults,
188188

189189
.num_reg_defaults = ARRAY_SIZE(cap11xx_reg_defaults),
190-
.cache_type = REGCACHE_RBTREE,
190+
.cache_type = REGCACHE_MAPLE,
191191
.volatile_reg = cap11xx_volatile_reg,
192192
};
193193

0 commit comments

Comments
 (0)