Skip to content

Commit 5958274

Browse files
brooniedtor
authored andcommitted
Input: qt1050 - 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-3-ed3716051431@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 718963d commit 5958274

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/input/keyboard/qt1050.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static struct regmap_config qt1050_regmap_config = {
213213
.val_bits = 8,
214214
.max_register = QT1050_RES_CAL,
215215

216-
.cache_type = REGCACHE_RBTREE,
216+
.cache_type = REGCACHE_MAPLE,
217217

218218
.wr_table = &qt1050_writeable_table,
219219
.rd_table = &qt1050_readable_table,

0 commit comments

Comments
 (0)