diff options
author | Mark Brown <broonie@kernel.org> | 2023-10-01 01:43:40 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-12-12 21:39:09 -0800 |
commit | 5958274f1de5bcc435a11a92a5d555775c5ed341 (patch) | |
tree | 03af8e4925a4d0c8e39c6d2ade7e44a32d5f4b24 | |
parent | 718963d94197626f83544b63ca5581d16cffdac2 (diff) | |
download | lwn-5958274f1de5bcc435a11a92a5d555775c5ed341.tar.gz lwn-5958274f1de5bcc435a11a92a5d555775c5ed341.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/qt1050.c b/drivers/input/keyboard/qt1050.c index 6953097db445..b51dfcd76038 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, |