summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChu Guangqing <chuguangqing@inspur.com>2025-10-24 15:38:20 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-11-09 12:57:05 +0000
commite5191f62a67aada464ff2c4ab6d96a657b1486aa (patch)
treee4851c52fc67b6535ac3a6d93a693dc9b27bc7ca /drivers
parent49708f45be675d726b6c39a0eee260c0df1f77bc (diff)
iio: adc: ade9000: 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: Chu Guangqing <chuguangqing@inspur.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/iio/adc/ade9000.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/ade9000.c b/drivers/iio/adc/ade9000.c
index 94e05e11abd9..2de8a718d62a 100644
--- a/drivers/iio/adc/ade9000.c
+++ b/drivers/iio/adc/ade9000.c
@@ -1629,7 +1629,7 @@ static const struct regmap_config ade9000_regmap_config = {
.val_bits = 32,
.max_register = 0x6bc,
.zero_flag_mask = true,
- .cache_type = REGCACHE_RBTREE,
+ .cache_type = REGCACHE_MAPLE,
.reg_read = ade9000_spi_read_reg,
.reg_write = ade9000_spi_write_reg,
.volatile_reg = ade9000_is_volatile_reg,