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

Commit c78cb178 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Lee Jones
Browse files

mfd: twl6040: The chip does not support bulk access



Bulk access is not working with twl6040, we need to use single register
access. Bulk access would happen when we try to sync the regcache after
power on.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 3612b27c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -609,6 +609,7 @@ static const struct regmap_config twl6040_regmap_config = {
	.writeable_reg = twl6040_writeable_reg,
	.writeable_reg = twl6040_writeable_reg,


	.cache_type = REGCACHE_RBTREE,
	.cache_type = REGCACHE_RBTREE,
	.use_single_rw = true,
};
};


static const struct regmap_irq twl6040_irqs[] = {
static const struct regmap_irq twl6040_irqs[] = {