projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3612b27
)
mfd: twl6040: The chip does not support bulk access
author
Peter Ujfalusi
<
[email protected]
>
Wed, 31 Aug 2016 11:46:20 +0000
(14:46 +0300)
committer
Lee Jones
<
[email protected]
>
Tue, 4 Oct 2016 14:48:03 +0000
(15:48 +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 <
[email protected]
>
Signed-off-by: Lee Jones <
[email protected]
>
drivers/mfd/twl6040.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/twl6040.c
b/drivers/mfd/twl6040.c
index ab328ec49353209bfbb5c0e1a741f25b5efac829..c3ad59ef43dde943ae472a8821cb1752cac5ff79 100644
(file)
--- 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[] = {