aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-10-01 01:43:40 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-12-12 21:39:09 -0800
commit5958274f1de5bcc435a11a92a5d555775c5ed341 (patch)
tree03af8e4925a4d0c8e39c6d2ade7e44a32d5f4b24
parent718963d94197626f83544b63ca5581d16cffdac2 (diff)
downloadinput-5958274f1de5bcc435a11a92a5d555775c5ed341.tar.gz
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>
-rw-r--r--drivers/input/keyboard/qt1050.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/qt1050.c b/drivers/input/keyboard/qt1050.c
index 6953097db4456f..b51dfcd7603862 100644
--- a/drivers/input/keyboard/qt1050.c
+++ b/drivers/input/keyboard/qt1050.c
@@ -213,7 +213,7 @@ static struct regmap_config qt1050_regmap_config = {
.val_bits = 8,
.max_register = QT1050_RES_CAL,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.wr_table = &qt1050_writeable_table,
.rd_table = &qt1050_readable_table,