Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16ea003b authored by Laxman Dewangan's avatar Laxman Dewangan Committed by Mark Brown
Browse files

regulator: tps62360: enable register cache



Enable cache of device register using regmap cache RBTREE.

Signed-off-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8e8a507c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -264,6 +264,8 @@ static int tps62360_init_dcdc(struct tps62360_chip *tps,
static const struct regmap_config tps62360_regmap_config = {
	.reg_bits		= 8,
	.val_bits		= 8,
	.max_register		= REG_CHIPID,
	.cache_type		= REGCACHE_RBTREE,
};

static int __devinit tps62360_probe(struct i2c_client *client,