summaryrefslogtreecommitdiff
path: root/drivers/regulator/mt6311-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/mt6311-regulator.c')
-rw-r--r--drivers/regulator/mt6311-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/mt6311-regulator.c b/drivers/regulator/mt6311-regulator.c
index 02c4e5fec..0495716fd 100644
--- a/drivers/regulator/mt6311-regulator.c
+++ b/drivers/regulator/mt6311-regulator.c
@@ -30,6 +30,7 @@ static const struct regmap_config mt6311_regmap_config = {
.reg_bits = 8,
.val_bits = 8,
.max_register = MT6311_FQMTR_CON4,
+ .cache_type = REGCACHE_RBTREE,
};
/* Default limits measured in millivolts and milliamps */