diff options
author | Peter Ujfalusi | 2016-08-31 14:46:20 +0300 |
---|---|---|
committer | Lee Jones | 2016-10-04 15:48:03 +0100 |
commit | c78cb17867e48a4b74abbc8ffc52ac1ed5d0299d (patch) | |
tree | 268a9250fada1feb980a8bea1bc7b80467a5eb9e /drivers/mfd/twl6040.c | |
parent | 3612b27cfb4a074c83cc74b928517aca2d872861 (diff) |
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: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/twl6040.c')
-rw-r--r-- | drivers/mfd/twl6040.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/twl6040.c b/drivers/mfd/twl6040.c index ab328ec49353..c3ad59ef43dd 100644 --- a/drivers/mfd/twl6040.c +++ b/drivers/mfd/twl6040.c @@ -609,6 +609,7 @@ static const struct regmap_config twl6040_regmap_config = { .writeable_reg = twl6040_writeable_reg, .cache_type = REGCACHE_RBTREE, + .use_single_rw = true, }; static const struct regmap_irq twl6040_irqs[] = { |