mfd: twl6040: The chip does not support bulk access
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 31 Aug 2016 11:46:20 +0000 (14:46 +0300)
committerLee Jones <lee.jones@linaro.org>
Mon, 12 Sep 2016 08:56:19 +0000 (09:56 +0100)
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>
drivers/mfd/twl6040.c

index ab328ec49353209bfbb5c0e1a741f25b5efac829..c3ad59ef43dde943ae472a8821cb1752cac5ff79 100644 (file)
@@ -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[] = {
This page took 0.026317 seconds and 5 git commands to generate.